Skip to content

Commit

Permalink
Turn back gunicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
ldamasio committed Feb 19, 2024
1 parent 736e573 commit 2c2a297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/monolith/docker/Dockerfile_django
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2c2a297

Please sign in to comment.