Update Dockerfile.prod
All checks were successful
Deploy App / build-and-deploy (push) Successful in 2m6s
All checks were successful
Deploy App / build-and-deploy (push) Successful in 2m6s
This commit is contained in:
@@ -62,9 +62,4 @@ COPY --from=frontend /app/public ./public
|
|||||||
# Fix permissions for Laravel
|
# Fix permissions for Laravel
|
||||||
RUN chown -R www-data:www-data storage bootstrap/cache
|
RUN chown -R www-data:www-data storage bootstrap/cache
|
||||||
|
|
||||||
FROM nginx:1.27-alpine AS nginx
|
|
||||||
WORKDIR /var/www/html
|
|
||||||
COPY --from=final /var/www/html/public ./public
|
|
||||||
COPY ./docker/nginx/nginx.conf /etc/nginx/conf.d/default.conf
|
|
||||||
|
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
Reference in New Issue
Block a user