Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
soapmancn authored Jan 14, 2024
1 parent 7992454 commit ee274cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ COPY . /app
RUN pip install --no-cache-dir flask

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

0 comments on commit ee274cb

Please sign in to comment.