Skip to content

Deploy backend to Hugging Face Spaces - #2

Merged
MaharMuavia merged 1 commit into
mainfrom
feat/hf-spaces-backend
Jul 11, 2026
Merged

MaharMuavia merged 1 commit into
mainfrom
feat/hf-spaces-backend

Conversation

@MaharMuavia

Copy link
Copy Markdown
Owner

Moves backend hosting from Render (now requires a card) to a free Hugging Face Docker Space, auto-deployed from main.

  • Removes render.yaml
  • Adds .github/workflows/deploy-hf-space.yml (needs HF_TOKEN secret + HF_SPACE_ID repo variable)
  • Fixes backend Dockerfile (gunicorn was missing from requirements — switched to uvicorn; lighter deps)
  • Updates CLAUDE.md deployment notes

🤖 Generated with Claude Code

…quired)

- Render blueprint removed: Render now requires a payment method even
  for free-tier blueprints/services, which the project owner cannot add.
- New deploy-hf-space.yml workflow mirrors dataverse_backend/ to a
  Hugging Face Docker Space on main pushes (gated on HF_SPACE_ID var).
- Dockerfile fixes: it launched gunicorn, which is in no requirements
  file (would crash at boot); switch to uvicorn on ${PORT:-7860}, build
  from requirements-mvp.txt (the supabase SDK is never imported), drop
  unused gcc/postgresql-client.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
data-verse-ai Ready Ready Preview, Comment Jul 11, 2026 3:01pm

@MaharMuavia
MaharMuavia merged commit 690a533 into main Jul 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant