From 79acf16c785ef6b3cb34a2aaae23766b7bb7dd7b Mon Sep 17 00:00:00 2001 From: Son NK Date: Sat, 23 Nov 2019 18:49:34 +0100 Subject: [PATCH] reduce nb gunicorn workers to 2 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8712a890..14772bed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,6 @@ RUN pip3 install -r requirements.txt COPY . . -CMD gunicorn wsgi:app -b 0.0.0.0:7777 -w 4 --timeout 15 --log-level DEBUG +CMD gunicorn wsgi:app -b 0.0.0.0:7777 -w 2 --timeout 15 --log-level DEBUG #CMD ["/usr/local/bin/gunicorn", "wsgi:app", "-k", "gthread", "-b", "0.0.0.0:5000", "-w", "2", "--timeout", "15", "--log-level", "DEBUG"]