From be9839936f8e8cd6ae624c5270b54089bc641173 Mon Sep 17 00:00:00 2001 From: Adrian Amaglio Date: Fri, 1 May 2020 08:44:58 +0200 Subject: [PATCH] dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0230ebb..dd31529 100755 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ COPY ./main.py ./list.tpl ./ # I juste wanted to change the socket owner but it turned out I needed to change thu uwsgi user #CMD uwsgi --exec-asap 'chown $UID:$UID /tmp/uwsgi/ ; mkdir -p $BASE_PATH && chown $UID:$UID $BASE_PATH' -s /tmp/uwsgi/uwsgi.sock --uid $UID --manage-script-name --mount /=server:app # --log-master makes 500 error on 30s timeout for every valid http request -CMD uwsgi --logto2 /dev/stdout --chown-socket $UID -s /tmp/uwsgi/uwsgi.sock --manage-script-name --mount $MOUNT=main:app +CMD uwsgi --chown-socket $UID -s /tmp/uwsgi/uwsgi.sock --manage-script-name --mount $MOUNT=main:app --master --hook-master-start "unix_signal:15 gracefully_kill_them_all" --need-app --die-on-term --show-config --log-master