Download Dockerfile from StrangerInAStrangeLand/snapotter: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/spaces/StrangerInAStrangeLand/snapotter/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/StrangerInAStrangeLand/snapotter/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/StrangerInAStrangeLand/snapotter/resolve/main/Dockerfile
578 Bytes
| # SnapOtter — official upstream image, embedded mode (no external Postgres/Redis). | |
| # Embedded mode puts Postgres 17 + Redis 8 inside the container under /data, which is | |
| # what a Space needs: there is no sidecar support and no persistent volume here. | |
| FROM snapotter/snapotter:latest | |
| # Hugging Face proxies exactly one port (README app_port). SnapOtter's upstream default | |
| # is 1349; pin both sides to the platform's convention so a missed PORT injection cannot | |
| # leave the app listening somewhere the proxy never looks. | |
| ENV PORT=7860 \ | |
| SNAPOTTER_ANALYTICS=off | |
| EXPOSE 7860 | |