leonsimon23 commited on
Commit
ef7d63e
·
verified ·
1 Parent(s): bdfd3b6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -21,6 +21,8 @@ RUN pip install --no-cache-dir -r requirements.txt
21
  ENV FLASK_APP=app.py
22
  ENV FLASK_ENV=production
23
  ENV PORT=7860
 
 
24
 
25
  # 6. 暴露端口
26
  EXPOSE 7860
 
21
  ENV FLASK_APP=app.py
22
  ENV FLASK_ENV=production
23
  ENV PORT=7860
24
+ # Dify API endpoint 默认值(可以在 Hugging Face Space 设置中覆盖)
25
+ ENV DIFY_API_ENDPOINT=https://api.dify.ai/v1
26
 
27
  # 6. 暴露端口
28
  EXPOSE 7860