Andrej Janchevski
fix(deploy): harden container runtime and unify research / checkpoint roots
5375c2e Download .dockerignore from Bani57/website: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/spaces/Bani57/website/resolve/main/.dockerignore
- Command line
-
hf download hf://spaces/Bani57/website/.dockerignore
-
curl -L -o .dockerignore https://huggingface.co/spaces/Bani57/website/resolve/main/.dockerignore
1.12 kB
| # Keep the build context lean so Docker doesn't pipe gigabytes of unrelated | |
| # files (model weights, datasets, screenshots) to the daemon. | |
| .git | |
| .gitignore | |
| .idea | |
| .vscode | |
| .claude | |
| *.pyc | |
| __pycache__ | |
| node_modules | |
| src/frontend/node_modules | |
| src/frontend/dist | |
| # Local model weights — pulled at runtime from HF Hub into CHECKPOINTS_ROOT. | |
| src/research/**/checkpoints/* | |
| src/research/**/results/**/*.tar | |
| src/research/**/results/**/*.ckpt | |
| # Misc precomputations the research code may emit. Excluded by default to | |
| # keep the image lean. | |
| src/research/**/*.npz | |
| src/research/**/*.gz | |
| # Exception: bundle the COINs Loader caches (community / node neighbour | |
| # samples and graph metric tensors, ~10 MB across 35 files). Without these | |
| # on disk, every cold start recomputes Leiden community detection and | |
| # neighbour sampling for all three datasets — ~15 min of CPU and a peak RAM | |
| # spike that OOMs the worker on tight memory budgets. | |
| !src/research/**/results/**/*.npz | |
| !src/research/**/results/**/*.gz | |
| # Local dev artefacts that don't belong in the image. | |
| docs | |
| plans | |
| .env | |
| .env.* | |
| !src/frontend/.env.production | |
| # OS | |
| .DS_Store | |
| Thumbs.db | |