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

Commit b719074

Browse files
committed
FIX: Only one worker, as they don't share adress space
1 parent 0dafb89 commit b719074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ WORKDIR /App
1717
RUN adduser --system --no-create-home herbert
1818
USER herbert
1919

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

0 commit comments

Comments
 (0)