Files
nuzlocke-tracker/.beans/nuzlocke-tracker-xmyh--create-production-dockerfiles.md
Julian Tabel fd23d89e71 Add production Dockerfiles and nginx config
Backend: installs non-editable, runs uvicorn without reload.
Frontend: multi-stage build, serves static files via nginx with
API proxy to the backend service and SPA fallback routing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:00:28 +01:00

17 lines
612 B
Markdown

---
# nuzlocke-tracker-xmyh
title: Create production Dockerfiles
status: in-progress
type: task
priority: normal
created_at: 2026-02-09T15:30:42Z
updated_at: 2026-02-09T16:59:19Z
parent: nuzlocke-tracker-ahza
---
Create or adapt Dockerfiles for production builds (multi-stage where appropriate).
- **Frontend:** Build the Vite app and serve statically (e.g., via a lightweight nginx container or bundled into the API)
- **API:** Run without debug mode, ensure Alembic migrations run on startup
- Consider multi-stage builds to keep image sizes small
- Ensure the images work when pulled from the local registry