Switch CMD to ENTRYPOINT to receive SIGTERM

This commit is contained in:
Deko
2023-03-04 14:43:53 +01:00
parent a74b3e2b3f
commit 41c61dc747

View File

@@ -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"]