diff --git a/images/custom-error-pages/rootfs/Dockerfile b/images/custom-error-pages/rootfs/Dockerfile index fc09e92d1..cdceb032b 100755 --- a/images/custom-error-pages/rootfs/Dockerfile +++ b/images/custom-error-pages/rootfs/Dockerfile @@ -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"]