Files
nuzlocke-tracker/.beans/nuzlocke-tracker-xmyh--create-production-dockerfiles.md

17 lines
610 B
Markdown
Raw Normal View History

---
# nuzlocke-tracker-xmyh
title: Create production Dockerfiles
status: completed
type: task
priority: normal
created_at: 2026-02-09T15:30:42Z
updated_at: 2026-02-09T17:00:32Z
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