SavirD commited on
Commit
578a236
·
verified ·
1 Parent(s): 87ce6e3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -75,9 +75,7 @@ ENV PATH="/app/.venv/bin:$PATH"
75
  # Set PYTHONPATH so imports work correctly
76
  ENV PYTHONPATH="/app/env:$PYTHONPATH"
77
 
78
- # Health check (use PORT so it works on Hugging Face Spaces where PORT=7860)
79
- HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
80
- CMD curl -f "http://localhost:${PORT:-8000}/health" || exit 1
81
 
82
  # Run the FastAPI server (PORT=7860 on Hugging Face Spaces)
83
  ENV ENABLE_WEB_INTERFACE=true
 
75
  # Set PYTHONPATH so imports work correctly
76
  ENV PYTHONPATH="/app/env:$PYTHONPATH"
77
 
78
+ # No HEALTHCHECK: openenv-base often lacks curl; HF Spaces probe the app port directly.
 
 
79
 
80
  # Run the FastAPI server (PORT=7860 on Hugging Face Spaces)
81
  ENV ENABLE_WEB_INTERFACE=true