diff --git a/Dockerfile b/Dockerfile index df2d21b..7e4f95d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma # Refer to https://github.com/GoogleContainerTools/distroless for more details FROM gcr.io/distroless/static:nonroot WORKDIR / +COPY internal/controller/templates internal/controller/templates COPY --from=builder /workspace/manager . USER 65532:65532