2 Commits

Author SHA1 Message Date
admins 1b028dc484 Fix: include prisma/migrations in Docker build context
Was accidentally excluded from .dockerignore, causing migrate deploy
to find no migration files and skip all schema creation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 10:53:19 +05:00
admins 8d3ff24e52 Add production Docker setup
- Dockerfile: multi-stage build (deps → builder → standalone runner)
- docker-compose.prod.yml: app on port 3010 + PostgreSQL 16
- entrypoint.sh: runs prisma migrate deploy then starts node server
- next.config.ts: standalone output for minimal Docker image
- .dockerignore: exclude dev files from build context

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 10:38:33 +05:00