Skip to content

Commit

Permalink
Merge pull request #73 from hikhvar/fix-entrypoint
Browse files Browse the repository at this point in the history
Use entrypoint instead of command in dockerimage
  • Loading branch information
hikhvar authored Sep 22, 2021
2 parents 02e3d79 + 5e1b7d4 commit 7f22fd5
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 7f22fd5

Please sign in to comment.