Binx
Claude Sonnet 4.6
Fix data path: download HF dataset to /app so files land at /app/data/
5a2e4a7 Download Dockerfile from Binxk/goon: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/Binxk/goon/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Binxk/goon/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Binxk/goon/resolve/main/Dockerfile
437 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV HF_DATASET_REPO=Binxk/goon-data | |
| ENV DATA_DIR=/app/data | |
| EXPOSE 8501 | |
| CMD ["sh", "-c", \ | |
| "python -c \"from huggingface_hub import snapshot_download; snapshot_download(repo_id='Binxk/goon-data', repo_type='dataset', local_dir='/app')\" && \ | |
| streamlit run app.py --server.port=8501 --server.address=0.0.0.0"] | |