Jayant-Kernel Claude Sonnet 4.6 commited on
Fix Dockerfile port: use 7860 for HF Spaces compatibility
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 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
|
| 21 |
|
| 22 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=15s --retries=3 \
|
| 23 |
-
CMD curl -f http://localhost:
|
| 24 |
|
| 25 |
-
CMD ["uvicorn", "deceit_env.server.app:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 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"]
|