From 2c2a29724cac3d28ad3cc2994cc47982f68e0021 Mon Sep 17 00:00:00 2001 From: Leandro Damasio Date: Sun, 18 Feb 2024 23:52:32 -0300 Subject: [PATCH] Turn back gunicorn --- backends/monolith/docker/Dockerfile_django | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/monolith/docker/Dockerfile_django b/backends/monolith/docker/Dockerfile_django index f84748c..f1c6ad2 100644 --- a/backends/monolith/docker/Dockerfile_django +++ b/backends/monolith/docker/Dockerfile_django @@ -9,4 +9,4 @@ COPY ../requirements.txt . RUN pip install --upgrade pip && pip install -r requirements.txt COPY . /app/ EXPOSE 8000 -CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] +CMD gunicorn -b 0.0.0.0:8000 --worker-class=gevent --worker-connections=1000 --workers=5 backend.wsgi