From c7549ba89525487a2a19b8f9afe484f9be801118 Mon Sep 17 00:00:00 2001 From: spwoodcock <sam.woodcock@protonmail.com> Date: Thu, 11 Jan 2024 12:25:19 +0000 Subject: [PATCH] build: default to 4 workers on dev uvicorn container --- src/backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/Dockerfile b/src/backend/Dockerfile index f0786aa62f..b48d596b8c 100644 --- a/src/backend/Dockerfile +++ b/src/backend/Dockerfile @@ -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"]