Spaces:
Sleeping
Sleeping
Xining Li
Deploy snapshot: causal-gate + flash-offer tasks (textbook/ omitted, binary PDF rejected by HF's plain-git push policy)
6ec7f56 Download Dockerfile from xiningli/webtask-arena: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/spaces/xiningli/webtask-arena/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/xiningli/webtask-arena/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/xiningli/webtask-arena/resolve/main/Dockerfile
372 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY server/ server/ | |
| EXPOSE 8000 | |
| HEALTHCHECK --interval=5s --timeout=3s --retries=5 \ | |
| CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/healthz')" | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |