updated Dockerfile of myems-api

pull/80/head
13621160019@163.com 2021-11-15 21:22:11 +08:00
parent 5767d98825
commit a9cbee6cd1
1 changed files with 1 additions and 1 deletions

View File

@ -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"]