diff --git a/Dockerfile b/Dockerfile index 98f9531..6912157 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,7 @@ RUN go install ./cmd/${cmd} # Start fresh from a smaller image FROM alpine:3 ARG cmd=ssl-status-board -COPY --from=build_go /go/bin/${cmd} /app/${cmd} +COPY --from=build_go /go/bin/${cmd} /app USER 1000 -ENV COMMAND="/app/${cmd}" -ENTRYPOINT "${COMMAND}" +ENTRYPOINT ["/app"] CMD []