From 1b5efa99b56ddcc083bbf5a5b44f1da6d171121f Mon Sep 17 00:00:00 2001 From: Guillem Borrell Date: Tue, 11 Jun 2024 22:32:49 +0200 Subject: [PATCH] Multiple uvicorn workers --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6f782cb..b0214bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +CMD ["uvicorn", "hellocomputer.main:app", "--host", "0.0.0.0", "--port", "8080", "--workers", "4"] \ No newline at end of file