updated Dockerfile of myems-api
parent
5767d98825
commit
a9cbee6cd1
|
@ -4,4 +4,4 @@ WORKDIR /code
|
||||||
COPY . /code
|
COPY . /code
|
||||||
RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
CMD ["gunicorn", "app:api", "-b 0.0.0.0:8000"]
|
CMD ["gunicorn", "app:api", "-b", "0.0.0.0:8000", "--timeout", "600", "--workers=4"]
|
Loading…
Reference in New Issue