fix chmod (#240)
Some checks failed
Container Publish / build-image (push) Failing after 4m46s
Some checks failed
Container Publish / build-image (push) Failing after 4m46s
questa notazione è più compatibile Reviewed-on: #240 Co-authored-by: paspo <paolo@asperti.com> Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
parent
f9f2f762f9
commit
9dea09f412
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user