Skip to content

Commit

Permalink
Use entrypoint instead of command in dockerimage
Browse files Browse the repository at this point in the history
Fixes #72
  • Loading branch information
Christoph Petrausch committed Sep 22, 2021
1 parent 4418b5a commit 5e1b7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ RUN make static_build TARGET_FILE=/bin/mqtt2prometheus
FROM gcr.io/distroless/static-debian10:nonroot
WORKDIR /
COPY --from=builder /bin/mqtt2prometheus /mqtt2prometheus
CMD ["/mqtt2prometheus"]
ENTRYPOINT ["/mqtt2prometheus"]

0 comments on commit 5e1b7d4

Please sign in to comment.