Skip to content

Commit

Permalink
Update permissions setting in Dockerfile.web
Browse files Browse the repository at this point in the history
This fixes issues with assets loading when you run as non root users
  • Loading branch information
kaysond committed Sep 29, 2023
1 parent 4b1d9dc commit a8621d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile.web
Original file line number Diff line number Diff line change
Expand Up @@ -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
RUN mkdir -p /opt/scrutiny/web && \
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"]

0 comments on commit a8621d2

Please sign in to comment.