Skip to content

Commit

Permalink
Updated: Better paths in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
danielunderwood committed Feb 26, 2022
1 parent 2192ab0 commit 08cba63
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 @@ -6,8 +6,7 @@ COPY go.* ./
RUN go build -v ./...

FROM debian:11-slim
WORKDIR /app
COPY --from=build /go/src/github.com/danielunderwood/log2http/log2http /app
COPY --from=build /go/src/github.com/danielunderwood/log2http/log2http /usr/bin
# Install ca-certificates so TLS can be verified
RUN apt-get update && apt-get install -y ca-certificates && apt-get clean && rm -rf /var/lib/apt/lists/*
CMD ["/app/log2http"]
ENTRYPOINT ["/usr/bin/log2http"]

0 comments on commit 08cba63

Please sign in to comment.