fix: make the nginx config readable by the unprivileged user
schemas-app / build (pull_request) Successful in 4m9s
schemas-app / deploy-prod-frostmoln (pull_request) Skipped

COPY keeps the source file's mode; a 600 file (local checkouts) left
uid 101 unable to read it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma8eHhW59hLAJuLzBnLvUu
This commit is contained in:
argoyleandClaude Opus 5.5 committed 2026-10-14 22:26:30 +02:00
1 parent 1646ee1bc3
commit 0f7610d03f
1 file changed
+2 -2
+2 -2
View File
@@ -16,6 +16,6 @@ COPY --from=builder /build/coverage /
FROM nginxinc/nginx-unprivileged:1.31.6@sha256:1d26a516fb93b18f9c0214dc9c645054486e516f13ff09ef63d5bd5c622278a2
MAINTAINER Joakim Olsson <joakim@unbound.se>
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY ./nginx/security_headers.conf /etc/nginx/security_headers.conf
COPY --chmod=644 ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY --chmod=644 ./nginx/security_headers.conf /etc/nginx/security_headers.conf
COPY --from=builder /build/.output/public/ /usr/share/nginx/html/