fixed multi thread in docker

This commit is contained in:
Patrice 2019-06-07 11:41:06 +02:00
parent 9563e1e0d4
commit b009796b36
1 changed files with 2 additions and 1 deletions

View File

@ -11,4 +11,5 @@ COPY ./ /app
WORKDIR /app
EXPOSE 5000
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app"]
CMD ["gunicorn", "-b", "0.0.0.0:5000","--worker-class", "gthread", "-w","4", "--threads", "100", "app"]