From b7239232ccd084434c487b4da61051ddf44e8b3e Mon Sep 17 00:00:00 2001 From: Mikhail Avramenko Date: Mon, 7 Jun 2021 16:18:11 +0700 Subject: [PATCH] change cmd to entrypoint Signed-off-by: Mikhail Avramenko --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b2303ed..0d1c367 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ CMD dlv -l :40000 --headless=true --api-version=2 test -test.v ./... FROM alpine as runtime COPY --from=build /bin/app /bin/app -CMD /bin/app \ No newline at end of file +ENTRYPOINT ["/bin/app"] \ No newline at end of file