Spaces:
Running
Running
MicroFunnel commited on
Commit ·
5b9f744
1
Parent(s): 1b99028
Add start.sh as fallback
Browse files- backend/start.sh +8 -0
backend/start.sh
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -e
|
| 3 |
+
|
| 4 |
+
echo "Installing dependencies..."
|
| 5 |
+
pip install -r requirements.txt
|
| 6 |
+
|
| 7 |
+
echo "Starting FastAPI server..."
|
| 8 |
+
uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}
|