Skip to content

feat(deploy): Docker build + same-origin SPA serving#7

Merged
autonomousproductstudio-ai merged 1 commit into
mainfrom
ashwini/deploy-docker
Jun 14, 2026
Merged

feat(deploy): Docker build + same-origin SPA serving#7
autonomousproductstudio-ai merged 1 commit into
mainfrom
ashwini/deploy-docker

Conversation

@autonomousproductstudio-ai

Copy link
Copy Markdown
Owner

Multi-stage Dockerfile builds the Vite SPA then runs uvicorn; FastAPI serves frontend/dist same-origin with an SPA fallback (client routes -> index.html, API segments stay JSON). VITE_FIREBASE_* flow through Docker build args. Binds $PORT and PYTHONPATH=src for the src-layout package.

Multi-stage Dockerfile builds the Vite SPA then runs uvicorn; FastAPI serves
frontend/dist same-origin with an SPA fallback (client routes -> index.html,
API segments stay JSON). VITE_FIREBASE_* flow through Docker build args. Binds
$PORT and PYTHONPATH=src for the src-layout package.
@autonomousproductstudio-ai autonomousproductstudio-ai merged commit b9256d4 into main Jun 14, 2026
1 check 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.

2 participants