diff --git a/myems-api/Dockerfile b/myems-api/Dockerfile index d12f261f..629bcc0a 100644 --- a/myems-api/Dockerfile +++ b/myems-api/Dockerfile @@ -4,4 +4,4 @@ WORKDIR /code COPY . /code RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com EXPOSE 8000 -CMD ["gunicorn", "app:api", "-b 0.0.0.0:8000"] \ No newline at end of file +CMD ["gunicorn", "app:api", "-b", "0.0.0.0:8000", "--timeout", "600", "--workers=4"] \ No newline at end of file