From 41c61dc747159ad2e1e638d3aaeb2bb4415dfae6 Mon Sep 17 00:00:00 2001 From: Deko Date: Sat, 4 Mar 2023 14:43:53 +0100 Subject: [PATCH] Switch CMD to ENTRYPOINT to receive SIGTERM --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3b2b882..52f424a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,4 @@ RUN curl -sSL https://install.python-poetry.org | python3 - ENV PATH=/root/.local/bin:$PATH RUN poetry install -CMD ["poetry", "run", "python", "-m" , "app.main"] +ENTRYPOINT ["poetry", "run", "python", "-m" , "app.main"]