From bcac02752d5e0fff63b55526ce37ecd8f8d14188 Mon Sep 17 00:00:00 2001 From: joizhang Date: Sat, 10 Dec 2022 21:35:25 +0800 Subject: [PATCH] fix: /usr/local/bin/gunicorn: no such file or directory --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c6e91ef..e32b9c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ RUN pip3 install importlib-metadata poetry -i https://pypi.tuna.tsinghua.edu.cn/ RUN poetry config virtualenvs.create false RUN poetry install -CMD ["/usr/local/bin/gunicorn", "-w", "4", "--worker-class=gevent", "-b", "0.0.0.0:5000", "--daemon", "wsgi:app"] \ No newline at end of file +CMD ["gunicorn", "-w", "4", "--worker-class=gevent", "-b", "0.0.0.0:5000", "--daemon", "wsgi:app"] \ No newline at end of file -- Gitee