Skip to content

Commit

Permalink
Improve Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hialus committed Sep 26, 2023
1 parent 5bdb084 commit eb77b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ RUN poetry install
COPY app /app/app

EXPOSE 8000
CMD ["poetry", "run", "gunicorn", "app.main:app", "--workers", "4", "--threads", "4", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"]
CMD ["poetry", "run", "gunicorn", "app.main:app", "--workers", "4", "--threads", "2", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"]

0 comments on commit eb77b46

Please sign in to comment.