From 5bdb084b0e4f2445fdcca7ff424ff0781f223db9 Mon Sep 17 00:00:00 2001 From: Timor Morrien Date: Tue, 26 Sep 2023 02:10:45 +0200 Subject: [PATCH] Improve Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a39008d8..09ccf3c4 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", "8", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"] +CMD ["poetry", "run", "gunicorn", "app.main:app", "--workers", "4", "--threads", "4", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"]