Multiple uvicorn workers
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e398068c0e
commit
1b5efa99b5
|
@ -17,4 +17,4 @@ RUN uv pip install --python /usr/local/bin/python3 -e .
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# Run the command to start uvicorn
|
# 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"]
|
Loading…
Reference in a new issue