fix custom-error-pages file not exist (#7728)
This commit is contained in:
parent
66c5793af3
commit
8e9bf7f62c
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ RUN go get . && \
|
||||||
FROM gcr.io/distroless/static:nonroot
|
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/nginx-errors /
|
||||||
|
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/www /www
|
||||||
USER nonroot:nonroot
|
USER nonroot:nonroot
|
||||||
|
|
||||||
CMD ["/nginx-errors"]
|
CMD ["/nginx-errors"]
|
||||||
|
|
Loading…
Reference in a new issue