fix chmod (#240)
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:
Paolo Asperti 2024-09-19 19:19:07 +00:00 committed by Paolo Asperti
parent f9f2f762f9
commit 9dea09f412

View File

@ -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