Skip to content

Commit

Permalink
Set working directory in docker image to /
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Petrausch committed Sep 20, 2021
1 parent 53b6d35 commit 4418b5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ WORKDIR /build/mqtt2prometheus
RUN make static_build TARGET_FILE=/bin/mqtt2prometheus

FROM gcr.io/distroless/static-debian10:nonroot
WORKDIR /
COPY --from=builder /bin/mqtt2prometheus /mqtt2prometheus
CMD ["/mqtt2prometheus"]

0 comments on commit 4418b5a

Please sign in to comment.