guoj5 commited on
Commit
5ddb215
·
1 Parent(s): 29c9bb5

Directory corrected

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # 使用官方 Python 3.9
2
  FROM python:3.13
3
 
4
  # 创建一个非root用户 (Hugging Face官方示例里常见)
@@ -20,4 +20,4 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
20
  COPY . /app
21
 
22
  # 最终启动命令:监听 0.0.0.0:7860
23
- CMD ["python", "app.py", "--host=0.0.0.0", "--port", "7860"]
 
1
+ # 使用官方 Python 3.13
2
  FROM python:3.13
3
 
4
  # 创建一个非root用户 (Hugging Face官方示例里常见)
 
20
  COPY . /app
21
 
22
  # 最终启动命令:监听 0.0.0.0:7860
23
+ CMD ["python", "backend/app.py", "--host=0.0.0.0", "--port", "7860"]