Run version command during docker build
This commit is contained in:
parent
b76b2b4507
commit
5aa7a79d80
|
@ -35,3 +35,6 @@ FROM gcr.io/distroless/base:nonroot
|
|||
COPY --from=GO_BUILD /codies/codies /codies
|
||||
ENTRYPOINT [ "/codies", "--prod" ]
|
||||
EXPOSE 5000
|
||||
|
||||
# Verify that the binary works.
|
||||
RUN [ "/codies", "version" ]
|
||||
|
|
Loading…
Reference in New Issue