circulartext commited on
Commit
4ede87b
·
verified ·
1 Parent(s): 9a47843

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +3 -3
entrypoint.sh CHANGED
@@ -1,8 +1,8 @@
1
  #!/bin/bash
2
  set -e
3
 
4
- # Specify the path to your app.py file (assuming it's in the root directory)
5
- APP_PATH="/app/main.py"
6
 
7
  # Run the Uvicorn server with your FastAPI application
8
- exec uvicorn "$APP_PATH:app" --host 0.0.0.0 --port 7860 --reload
 
1
  #!/bin/bash
2
  set -e
3
 
4
+ # Specify the path to your main.py file
5
+ MAIN_PATH="/app/main.py"
6
 
7
  # Run the Uvicorn server with your FastAPI application
8
+ exec uvicorn "$MAIN_PATH:app" --host 0.0.0.0 --port 7860 --reload