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

612 B

title, status, type, priority, created_at, updated_at, parent
title status type priority created_at updated_at parent
Create production Dockerfiles in-progress task normal 2026-02-09T15:30:42Z 2026-02-09T16:59:19Z 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