fixed multi thread in docker
This commit is contained in:
parent
9563e1e0d4
commit
b009796b36
|
|
@ -11,4 +11,5 @@ COPY ./ /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 5000
|
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"]
|
||||||
Loading…
Reference in New Issue