diff --git a/.jenkins/Dockerfile b/.jenkins/Dockerfile index d2c5b5e..d40c686 100644 --- a/.jenkins/Dockerfile +++ b/.jenkins/Dockerfile @@ -139,4 +139,4 @@ EXPOSE ${PORT} # CMD ["sh","-c","uwsgi --http 0.0.0.0:${PORT} \ # --module 你的项目名.wsgi:application \ # --processes 4 --threads 2"] -CMD ["sh", "-c", "python3 app.py runserver 0.0.0.0:${PORT} --noreload"] +CMD ["sh", "-c", "gunicorn -c gunicorn.conf.py src.wsgi:app -b 0.0.0.0:${PORT}"]