JIMMYGGG commited on
Commit
aae275e
·
verified ·
1 Parent(s): db4cf6e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -8,4 +8,4 @@ ENV APP_SECRET=自定义api_key
8
  EXPOSE 7860
9
 
10
  # Define the command that starts the application
11
- CMD ["python", "app.py"]
 
8
  EXPOSE 7860
9
 
10
  # Define the command that starts the application
11
+ CMD ["uvicorn" "main:app" "--host" "0.0.0.0"