diff --git a/.jenkins/Dockerfile b/.jenkins/Dockerfile index b0c157e..9af6d5a 100644 --- a/.jenkins/Dockerfile +++ b/.jenkins/Dockerfile @@ -138,4 +138,4 @@ EXPOSE ${PORT} # ${PYFILE} 入口文件名(不含 .py),由 ENV PYFILE 注入 # ${PORT} 监听端口,由 ENV PORT 注入,运行期可 -e PORT=xxx 覆盖 # poetry run 在 poetry 虚拟环境中运行,保证依赖版本一致 -CMD ["sh", "-c", "poetry run python app.py --port=${PORT}"] \ No newline at end of file +CMD ["sh", "-c", "python app.py --port=${PORT}"] \ No newline at end of file