From 2115a4cbfc3398597edd8d4550e736c659f22482 Mon Sep 17 00:00:00 2001 From: Timor Morrien Date: Tue, 26 Sep 2023 02:01:54 +0200 Subject: [PATCH] Improve Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 806f47fb..a39008d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ RUN poetry install COPY app /app/app EXPOSE 8000 -CMD ["poetry", "run", "gunicorn", "app.main:app", "--workers", "4", "--threads", "16", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"] +CMD ["poetry", "run", "gunicorn", "app.main:app", "--workers", "4", "--threads", "8", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"]