Skip to content

Commit

Permalink
Merge pull request #132 from vit-zikmund/patch-1
Browse files Browse the repository at this point in the history
fix(Dockerfile): Graceful shutdown
  • Loading branch information
demenech authored Jan 19, 2024
2 parents 02eac21 + e31ff5d commit 7f16de5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ ARG PORT=5000
EXPOSE $PORT

ENTRYPOINT ["tini", "uwsgi", "--"]
# TODO remove this STOPSIGNAL override after uwsgi>=2.1
STOPSIGNAL SIGQUIT

CMD ["-s", "127.0.0.1:${PORT}", "-M", "-T", "--threads", "2", "-p", "2", \
"--manage-script-name", "--callable", "app"]

0 comments on commit 7f16de5

Please sign in to comment.