diff --git a/Dockerfile b/Dockerfile index a2b47f3..1b74034 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,5 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o telemetr FROM gcr.io/distroless/static:nonroot WORKDIR / COPY --from=builder /workspace/telemetry . -USER nonroot:nonroot ENV GIN_MODE release ENTRYPOINT ["/telemetry"] \ No newline at end of file