Commit Graph

11 Commits

Author SHA1 Message Date
17056ea00c fix: restore auth fixes — next-auth prisma adapter, serverExternalPackages, prisma db push on start
Made-with: Cursor
2026-02-27 12:30:52 -08:00
7c3ff5e280 fix: install prisma@5 globally in runner stage for entrypoint db push 2026-02-18 01:35:41 +00:00
e6b4332d7e Use entrypoint.sh to run prisma db push before starting server 2026-02-18 00:56:42 +00:00
3191823592 Fix Prisma: force linux-musl-openssl-3.0.x binary + install openssl in runner 2026-02-18 00:30:24 +00:00
580aa014ca Fix: add CMD node server.js for Next.js standalone build 2026-02-18 00:21:04 +00:00
54811b8247 Fix: skip postinstall in deps stage, run prisma generate in builder 2026-02-17 23:51:28 +00:00
50cbcb1634 Fix Dockerfile: copy prisma schema before npm ci to fix postinstall 2026-02-17 23:45:36 +00:00
65ea7ac180 Fix Dockerfile for NextAuth + Prisma deployment
Add Prisma support to Docker build:
- Run 'prisma generate' during Docker build
- Copy Prisma client and schema to production image
- Remove 'prisma db push' from build script (runs at startup)
- Enable Next.js standalone output mode
- Add db-setup.sh script for runtime migrations

This fixes the deployment failure where Prisma wasn't available.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 15:36:44 -08:00
478869a098 Use --legacy-peer-deps in Dockerfile for compatibility
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 15:02:46 -08:00
5ff291e4f9 Fix: Use npm ci instead of pnpm
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 14:31:56 -08:00
40bf8428cd VIBN Frontend for Coolify deployment 2026-02-15 19:25:52 -08:00