fix custom-error-pages file not exist (#7728)
This commit is contained in:
parent
9ff2db56e2
commit
01ba8c5c92
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ RUN go get . && \
|
|||
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
|
||||
USER nonroot:nonroot
|
||||
|
||||
CMD ["/nginx-errors"]
|
||||
|
|
Loading…
Reference in a new issue