Multiple uvicorn workers
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Guillem Borrell 2024-06-11 22:32:49 +02:00
parent e398068c0e
commit 1b5efa99b5

View file

@ -17,4 +17,4 @@ RUN uv pip install --python /usr/local/bin/python3 -e .
EXPOSE 8080
# Run the command to start uvicorn
CMD ["uvicorn", "hellocomputer.main:app", "--host", "0.0.0.0", "--port", "8080"]
CMD ["uvicorn", "hellocomputer.main:app", "--host", "0.0.0.0", "--port", "8080", "--workers", "4"]