fix chmod #240
@ -8,7 +8,8 @@ RUN \
|
|||||||
chmod -R a-x,a=rX,ug+w /wwwroot /logs
|
chmod -R a-x,a=rX,ug+w /wwwroot /logs
|
||||||
|
|
||||||
COPY docker/rootfs /
|
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
|
# config test
|
||||||
RUN nginx -t
|
RUN nginx -t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user