Update permissions setting in Dockerfile.web

This fixes issues with assets loading when you run as non root users
pull/520/head
Aram Akhavan 1 year ago committed by GitHub
parent 4b1d9dc2d3
commit a8621d2bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,5 +31,6 @@ COPY --link --from=backendbuild --chmod=755 /go/src/github.com/analogj/scrutiny/
COPY --link --from=frontendbuild --chmod=644 /go/src/github.com/analogj/scrutiny/dist /opt/scrutiny/web COPY --link --from=frontendbuild --chmod=644 /go/src/github.com/analogj/scrutiny/dist /opt/scrutiny/web
RUN mkdir -p /opt/scrutiny/web && \ RUN mkdir -p /opt/scrutiny/web && \
mkdir -p /opt/scrutiny/config && \ mkdir -p /opt/scrutiny/config && \
chmod -R ugo+rwx /opt/scrutiny/config chmod -R a+rX /opt/scrutiny && \
chmod -R a+w /opt/scrutiny/config
CMD ["/opt/scrutiny/bin/scrutiny", "start"] CMD ["/opt/scrutiny/bin/scrutiny", "start"]

Loading…
Cancel
Save