Skip to content

Commit

Permalink
format file
Browse files Browse the repository at this point in the history
  • Loading branch information
soapmancn committed May 26, 2024
1 parent 3d92309 commit 76f4d4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ RUN pip install --no-cache-dir flask
# 设置环境变量,指定 Flask 应用入口文件
ENV FLASK_APP=app.py

EXPOSE 5000

# 声明启动时执行的命令
CMD ["flask", "run", "--host=0.0.0.0", "--port=5000", "--without-threads"]

0 comments on commit 76f4d4c

Please sign in to comment.