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
Files changed (1) hide show
  1. entrypoint.sh +2 -2
entrypoint.sh CHANGED
@@ -31,5 +31,5 @@ echo "=========================================="
31
  echo "Starting uvicorn..."
32
  echo "=========================================="
33
 
34
- # Run uvicorn with logging to both file and stdout
35
- uvicorn app:app --host 0.0.0.0 --port "${PORT:-7860}" 2>&1 | tee /workspace/logs/server.log
 
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}"