Skip to content

[FAQ Bot] NEW: FastAPI container serving fails because my AI-generated Vite frontend is - #406

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-405
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-405

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

✨ FAQ NEW

Course: ai-dev-tools-zoomcamp
Section: 03-deployment (This fits Unit 3 deployment/containerization and the course’s single-container strategy for serving a static frontend from the FastAPI backend.)
Related Issue: #405

Question

FastAPI container serving fails because my AI-generated Vite frontend is SSR (no static index.html)—how do I fix it?

Decision Rationale

The proposal describes a specific build/deployment failure mode (SSR scaffolding not producing a static index.html for FastAPI single-container serving) and a concrete remedy (configure the frontend to export a static SPA and serve those assets from FastAPI, plus lock the rule in AGENTS.md). No existing FAQ question in the provided results covers this exact issue.

Placement Details

  • Section ID: 03-deployment
  • Sort Order: End of section
  • Filename Slug: vite-fastapi-ssr-no-index-html-static-spa-fix

🤖 Generated by FAQ Bot

Closes #405

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.

[FAQ] Module 3: AI-built frontend (Lovable, v0, Bolt) build doesn't produce a static index.html for FastAPI to serve. How do I fix it?

0 participants