Skip to content

Commit 5ca3c67

Browse files
committedMar 27, 2019
Use ENTRYPOINT instead of CMD
1 parent 83fef96 commit 5ca3c67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ ENV CGO_ENABLED=0
33
RUN go get github.com/mingrammer/flog
44

55
FROM scratch
6-
COPY --from=0 /go/bin/flog /flog
7-
CMD ["/flog"]
6+
COPY --from=0 /go/bin/flog /bin/flog
7+
ENTRYPOINT ["flog"]

0 commit comments

Comments
 (0)
Please sign in to comment.