Skip to content

Commit

Permalink
build: default to 4 workers on dev uvicorn container
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 11, 2024
1 parent 4e489f2 commit c7549ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ RUN pip install --user --upgrade --no-warn-script-location \
&& rm -r /opt/python
CMD ["python", "-m", "debugpy", "--listen", "0.0.0.0:5678", \
"-m", "uvicorn", "app.main:api", \
"--host", "0.0.0.0", "--port", "8000", \
"--host", "0.0.0.0", "--port", "8000", "--workers", "4", \
"--reload", "--log-level", "critical", "--no-access-log"]


Expand Down

0 comments on commit c7549ba

Please sign in to comment.