Spaces:
Sleeping
Sleeping
Claude Code commited on
Commit ·
5ecf34c
1
Parent(s): 15b06d3
Claude Code: Fix entrypoint.sh - remove tee pipe, use exec to keep uvicorn in foreground
Browse files- entrypoint.sh +2 -2
entrypoint.sh
CHANGED
|
@@ -31,5 +31,5 @@ echo "=========================================="
|
|
| 31 |
echo "Starting uvicorn..."
|
| 32 |
echo "=========================================="
|
| 33 |
|
| 34 |
-
# Run uvicorn
|
| 35 |
-
uvicorn app:app --host 0.0.0.0 --port "${PORT:-7860}"
|
|
|
|
| 31 |
echo "Starting uvicorn..."
|
| 32 |
echo "=========================================="
|
| 33 |
|
| 34 |
+
# Run uvicorn directly in foreground (no forking, no piping)
|
| 35 |
+
exec uvicorn app:app --host 0.0.0.0 --port "${PORT:-7860}"
|