From 26ca4d8b9379b421cab02720170531a22352635b Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Thu, 24 Oct 2024 17:56:26 +0200 Subject: [PATCH] feat: change CMD to ENTRYPOINT for better container behavior MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a16db3a..9a15c2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,4 @@ COPY . . RUN CGO_ENABLED=0 go build -v -o /GoTomato EXPOSE 8080 -CMD [ "/GoTomato" ] +ENTRYPOINT [ "/GoTomato" ]