feat: change CMD to ENTRYPOINT for better container behavior

🤖
This commit is contained in:
Sebastian Mark 2024-10-24 17:56:26 +02:00
parent 103ad031df
commit 26ca4d8b93

View file

@ -9,4 +9,4 @@ COPY . .
RUN CGO_ENABLED=0 go build -v -o /GoTomato RUN CGO_ENABLED=0 go build -v -o /GoTomato
EXPOSE 8080 EXPOSE 8080
CMD [ "/GoTomato" ] ENTRYPOINT [ "/GoTomato" ]