Skip to content

Commit 9199920

Browse files
reduces the amount of workers to 1
1 parent 2ca2c09 commit 9199920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RUN apt-get update && \
1616

1717
COPY ./lib /app/lib
1818

19-
CMD ["gunicorn", "-w 2", "-k", "uvicorn.workers.UvicornWorker", "lib:app", "--log-level", "Debug", "-b", "0.0.0.0:3000", "--timeout", "120"]
19+
CMD ["gunicorn", "-w 1", "-k", "uvicorn.workers.UvicornWorker", "lib:app", "--log-level", "Debug", "-b", "0.0.0.0:3000", "--timeout", "120"]

0 commit comments

Comments
 (0)