Skip to content

Commit

Permalink
increase worker and thread start cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
wuttinanhi committed Nov 14, 2022
1 parent 8eeb1c7 commit fec1ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /
USER appuser

# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
CMD gunicorn --bind 0.0.0.0:$PORT --timeout 90 main:app
CMD gunicorn --bind 0.0.0.0:$PORT --workers 4 --threads 4 --timeout 90 main:app

0 comments on commit fec1ed8

Please sign in to comment.