Spaces:
Sleeping
Sleeping
Commit History
-
chore: make backend deployable on Hugging Face Spaces (free, no card)
HF Spaces Docker SDK gives 16GB RAM free with no payment method, unlike Render's free tier. Adapt the image for it without breaking other hosts: - Dockerfile: run as UID 1000 with a writable HOME/HF_HOME, default port 7860 (HF's expected port; $PORT still overrides for Render et al.) - README: add HF Space frontmatter (sdk: docker, app_port) on this branch only, so main's README stays clean Push this branch to a HF Space's git remote to deploy the backend. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>6cd5ce0 -
chore: add Render + Vercel deploy config
Backend (FastAPI + PyTorch/BGE/Whisper) can't run on Vercel serverless (size, timeouts, in-process memory), so it ships as a Docker web service on Render with Neon Postgres+pgvector; the Next.js frontend goes on Vercel. - Dockerfile: CPU-only torch wheel to stay under free-tier image limits - render.yaml: Blueprint with prefilled env + secret placeholders - .dockerignore: keep the backend image lean (no frontend/venv/data) - DEPLOY.md: Neon -> Render -> Vercel -> CORS walkthrough Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>92d98bb