Spaces:
Sleeping
Sleeping
Commit History
-
chore: Restructure architecture for Hugging Face Docker Space deployment
- Updated `next.config.ts` to `output: 'export'` for highly-optimized static compilation. - Refactored `api.py` to securely mount the Next.js `out/` directory using FastAPI `StaticFiles`. - Updated `.dockerignore` to block local Node.js binaries and previous build steps, radically improving Docker context transfer times. - Wrote a new Multi-Stage `Dockerfile` that builds Next.js via Node, then serves it via Python, completely bypassing the legacy Gradio requirement. - Updated `README.md` default config from `sdk: gradio` to `sdk: docker`.8811f65
-
feat: add Docker configuration for Hugging Face Spaces deployment
fd1d3cf