diff --git a/fpm/Containerfile b/fpm/Containerfile index 4f94dd5..1546247 100644 --- a/fpm/Containerfile +++ b/fpm/Containerfile @@ -25,7 +25,9 @@ ADD files/wikindx_pool.conf /etc/php/8.2/fpm/pool/ ADD files/entryPoint.sh /entryPoint.sh RUN chmod a+x /entryPoint.sh -RUN chown -R fpm.fpm /var/log/php82 +RUN chown -R fpm /var/log/php82 +RUN chgrp -R fpm /var/log/php82 + RUN ln -s /dev/stdout /var/log/php82/error.log RUN ln -s /dev/stdout /var/log/php82/access.log USER fpm diff --git a/nginx/Containerfile b/nginx/Containerfile index 85071e8..cacac7d 100644 --- a/nginx/Containerfile +++ b/nginx/Containerfile @@ -9,8 +9,8 @@ FROM alpine:latest RUN apk update && apk add --no-cache bash ca-certificates tini nginx COPY --from=builder /wikindx /var/www/html/ -RUN chown -R nginx.nginx /var/www/html/ - +RUN chown -R nginx /var/www/html/ +RUN chgrp -R nginx /var/www/html/ ADD files/entryPoint.sh /entryPoint.sh RUN chmod a+x /entryPoint.sh