Switch CMD to ENTRYPOINT to receive SIGTERM
This commit is contained in:
@@ -12,4 +12,4 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
|
|||||||
ENV PATH=/root/.local/bin:$PATH
|
ENV PATH=/root/.local/bin:$PATH
|
||||||
RUN poetry install
|
RUN poetry install
|
||||||
|
|
||||||
CMD ["poetry", "run", "python", "-m" , "app.main"]
|
ENTRYPOINT ["poetry", "run", "python", "-m" , "app.main"]
|
||||||
|
|||||||
Reference in New Issue
Block a user