Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf6f98d83b | ||
|
|
5ef90c3676 |
@@ -1,2 +1,2 @@
|
|||||||
parameters:
|
parameters:
|
||||||
app.version: '0.1.3'
|
app.version: '0.1.4'
|
||||||
|
|||||||
@@ -74,13 +74,13 @@ RUN cd frontend && npm ci && npm run build:dist && rm -rf node_modules
|
|||||||
RUN chown -R www-data:www-data /var/www/html/var /var/www/html/frontend/dist
|
RUN chown -R www-data:www-data /var/www/html/var /var/www/html/frontend/dist
|
||||||
|
|
||||||
# PHP prod config
|
# PHP prod config
|
||||||
COPY infra/deploy/php-prod.ini /usr/local/etc/php/php.ini
|
COPY infra/prod/php-prod.ini /usr/local/etc/php/php.ini
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
# ── Nginx stage ──
|
# ── Nginx stage ──
|
||||||
FROM nginx:1.27-alpine AS nginx
|
FROM nginx:1.27-alpine AS nginx
|
||||||
|
|
||||||
COPY infra/deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
COPY infra/prod/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=php-base /var/www/html/public /var/www/html/public
|
COPY --from=php-base /var/www/html/public /var/www/html/public
|
||||||
COPY --from=php-base /var/www/html/frontend/dist /var/www/html/frontend/dist
|
COPY --from=php-base /var/www/html/frontend/dist /var/www/html/frontend/dist
|
||||||
|
|||||||
Reference in New Issue
Block a user