Spaces:
Runtime error
Runtime error
Update entrypoint.sh
Browse files- entrypoint.sh +3 -3
entrypoint.sh
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
#!/bin/bash
|
2 |
set -e
|
3 |
|
4 |
-
# Specify the path to your
|
5 |
-
|
6 |
|
7 |
# Run the Uvicorn server with your FastAPI application
|
8 |
-
exec uvicorn "$
|
|
|
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
|