From 4f50f6bb7e6ec267e3a4ef0155f45745f12a2c96 Mon Sep 17 00:00:00 2001 From: Conrad Date: Thu, 10 Oct 2024 17:59:38 +0200 Subject: [PATCH] fix: fixed issue with the uvicorn worker command --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c20f84b..3d1207d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt RUN pip install 'uvicorn[standard]' EXPOSE 9000 -CMD ["uvicorn", "app.main:app", "-w", "6" , "--host", "0.0.0.0", "--port", "9000"] +CMD ["uvicorn", "app.main:app", "--workers", "6" , "--host", "0.0.0.0", "--port", "9000"] # Install curl RUN apt-get update && apt-get install -y curl && apt-get clean