Deep Chavda commited on
Commit
552f368
Β·
1 Parent(s): d6742f8

fix: bind to 0.0.0.0 in HF Spaces container

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -29,7 +29,9 @@ USER appuser
29
  ENV HOME=/home/appuser \
30
  PATH=/home/appuser/.local/bin:$PATH \
31
  PYTHONUNBUFFERED=1 \
32
- PYTHONDONTWRITEBYTECODE=1
 
 
33
 
34
  # ── HF Spaces requires port 7860 ──────────────────────────────────────────────
35
  EXPOSE 7860
 
29
  ENV HOME=/home/appuser \
30
  PATH=/home/appuser/.local/bin:$PATH \
31
  PYTHONUNBUFFERED=1 \
32
+ PYTHONDONTWRITEBYTECODE=1 \
33
+ HOST=0.0.0.0 \
34
+ PORT=7860
35
 
36
  # ── HF Spaces requires port 7860 ──────────────────────────────────────────────
37
  EXPOSE 7860