Spaces:
Runtime error
Runtime error
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -2,4 +2,4 @@
|
|
| 2 |
# entrypoint for the container — run uvicorn on $PORT
|
| 3 |
set -euo pipefail
|
| 4 |
PORT="${PORT:-8080}"
|
| 5 |
-
exec
|
|
|
|
| 2 |
# entrypoint for the container — run uvicorn on $PORT
|
| 3 |
set -euo pipefail
|
| 4 |
PORT="${PORT:-8080}"
|
| 5 |
+
exec python3 -m uvicorn app:app --host 0.0.0.0 --port "${PORT}" --workers 1
|