diff --git a/Dockerfile b/Dockerfile index 261b076..03a5c35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/log2http"] \ No newline at end of file