diff --git a/dockerfile b/dockerfile index 385bddc..8e52aa4 100644 --- a/dockerfile +++ b/dockerfile @@ -18,10 +18,8 @@ RUN ls -al RUN go build -a -tags musl -o /build/app ###################################### FROM golang:alpine -LABEL AUTHOR="AUTHOR" -ENV GOCACHE=off +LABEL AUTHOR="Linuxcode" #RUN apk --no-cache add curl -USER nobody -COPY --from=builder --chown=nobody /build/app /custom/app +COPY --from=builder /build/app /custom/app RUN go install golang.org/x/tools/cmd/goimports@latest ENTRYPOINT [ "/custom/app" ] \ No newline at end of file