Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
FIX: Only one worker, as they don't share adress space
Browse files Browse the repository at this point in the history
  • Loading branch information
claussmann committed Feb 12, 2024
1 parent 0dafb89 commit b719074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ WORKDIR /App
RUN adduser --system --no-create-home herbert
USER herbert

# Change this if you want an other WSGI, or increase the number of workers
ENTRYPOINT gunicorn -w 3 -b 0.0.0.0:8000 pyteamquiz.main:app
# Change this if you want an other WSGI. Currently only one worker is supported.
ENTRYPOINT gunicorn -w 1 -b 0.0.0.0:8000 pyteamquiz.main:app

0 comments on commit b719074

Please sign in to comment.