From a9cbee6cd1584096cb6ef9272a1c12295d88dcd5 Mon Sep 17 00:00:00 2001 From: "13621160019@163.com" <13621160019@163.com> Date: Mon, 15 Nov 2021 21:22:11 +0800 Subject: [PATCH] updated Dockerfile of myems-api --- myems-api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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