Jayant-Kernel Claude Sonnet 4.6 commited on
Commit
97384d7
·
unverified ·
1 Parent(s): 44808d9

Fix Dockerfile port: use 7860 for HF Spaces compatibility

Browse files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -17,9 +17,9 @@ RUN pip install --no-cache-dir -e . \
17
 
18
  ENV DECEIT_GRADER_CACHE=/tmp/deceit_grader_cache.json
19
 
20
- EXPOSE 8000
21
 
22
  HEALTHCHECK --interval=30s --timeout=10s --start-period=15s --retries=3 \
23
- CMD curl -f http://localhost:8000/health || exit 1
24
 
25
- CMD ["uvicorn", "deceit_env.server.app:app", "--host", "0.0.0.0", "--port", "8000"]
 
17
 
18
  ENV DECEIT_GRADER_CACHE=/tmp/deceit_grader_cache.json
19
 
20
+ EXPOSE 7860
21
 
22
  HEALTHCHECK --interval=30s --timeout=10s --start-period=15s --retries=3 \
23
+ CMD curl -f http://localhost:7860/health || exit 1
24
 
25
+ CMD ["uvicorn", "deceit_env.server.app:app", "--host", "0.0.0.0", "--port", "7860"]