# 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