circulartext commited on
Commit
fd51f78
1 Parent(s): b81baa2

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +2 -4
entrypoint.sh CHANGED
@@ -1,8 +1,6 @@
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.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
 
5
+ # Run the CMD or any other command you want to execute
6
+ exec "$@"