diff --git a/Dockerfile b/Dockerfile index aecb0db..49f9f32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ RUN \ chmod -R a-x,a=rX,ug+w /wwwroot /logs COPY docker/rootfs / -COPY --chown=nginx:www-data --chmod=a-x,a=rX,ug+w public/ /wwwroot/ +COPY --chown=nginx:www-data public/ /wwwroot/ +RUN find /webroot/ -type d -exec chmod 755 {} \; -o -type f -exec chmod 644 {} \; # config test RUN nginx -t