diff --git a/Dockerfile b/Dockerfile index bf77059..ddf7dee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,10 +7,9 @@ RUN go install ./cmd/${cmd} # Start fresh from a smaller image FROM alpine:3 ARG cmd -COPY --from=build_go /go/bin/${cmd} /app/${cmd} +COPY --from=build_go /go/bin/${cmd} /app WORKDIR /data RUN chown 1000: /data USER 1000 -ENV COMMAND="/app/${cmd}" -ENTRYPOINT "${COMMAND}" +ENTRYPOINT ["/app"] CMD []