Skip to content

Commit

Permalink
fix: add /etc/mime.types #10309 (#10310)
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
  • Loading branch information
lucasfcnunes authored Aug 13, 2023
1 parent a92e7b4 commit 6b05e9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/custom-error-pages/rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ FROM gcr.io/distroless/static:nonroot

COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/nginx-errors /
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/www /www
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/etc /etc
USER nonroot:nonroot

CMD ["/nginx-errors"]

0 comments on commit 6b05e9b

Please sign in to comment.