Skip to content

Commit

Permalink
Fix: docker file not picking up command arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Jun 1, 2023
1 parent e55b497 commit 910764c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 []

0 comments on commit 910764c

Please sign in to comment.