Spaces:
Sleeping
Sleeping
Download Dockerfile from build-small-hackathon/token-holdem: direct link, hf CLI and curl.
- Browser
- Download file 542 Bytes
-
https://huggingface.co/spaces/build-small-hackathon/token-holdem/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/build-small-hackathon/token-holdem/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/build-small-hackathon/token-holdem/resolve/main/Dockerfile
542 Bytes
| FROM python:3.13-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| GRADIO_SERVER_NAME=0.0.0.0 \ | |
| GRADIO_SERVER_PORT=7860 \ | |
| USE_MODAL_INFERENCE=true \ | |
| TOKEN_HOLDEM_MODAL_DEMO_MODE=true | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends build-essential curl git \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && pip install --no-cache-dir uv | |
| COPY . . | |
| RUN uv pip install --system \ | |
| "gradio>=6.18.0" \ | |
| "modal>=1.5.0" \ | |
| "treys>=0.1.8" | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |