Nihar Shah commited on
Commit
02e4540
·
1 Parent(s): 151a283

🔧 Simplify Dockerfile CMD - remove timeout settings that may cause HF Space issues

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -25,5 +25,5 @@ RUN touch app/__init__.py || true
25
  # Expose port
26
  EXPOSE 8000
27
 
28
- # Run FastAPI app
29
- CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--timeout-keep-alive", "60"]
 
25
  # Expose port
26
  EXPOSE 8000
27
 
28
+ # Run FastAPI app with optimized settings for HF Spaces
29
+ CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]