Commit Graph

13 Commits

Author SHA1 Message Date
41fbed31f3 fix(prod): ESM transpile, healthcheck, hosting UX, settings, error msgs
- next.config.ts: add react-markdown + entire unified/remark/rehype
  ecosystem to transpilePackages — fixes TypeError 'z'/'j'/'aa' prod
  crashes caused by ESM-only packages not being bundled for webpack
- Dockerfile: bake HEALTHCHECK --start-period=60s on 127.0.0.1 so
  rolling deploys pass on first health probe (was failing on ::1 IPv6)
- Hosting tab: full rewrite — live URL chip, copy button, redeploy
  button, inline log viewer, domain list, empty state with prompt
  nudge. Single-card layout replaces master-detail for 1-3 endpoints.
- Settings page: new /project/:id/settings route with danger zone +
  typed "delete" confirmation for project deletion
- Status pill: "View logs" link appears on build failures
- URL chips: collapse extras into "+N more" pill when >2 visible
- Chat errors: structured "Tool error:" prefix; network errors
  distinguished from server errors

Made-with: Cursor
2026-04-30 17:12:48 -07:00
2aace73e33 fix(docker): copy scaffold templates into runner stage for fresh project creation
Made-with: Cursor
2026-03-09 18:17:14 -07:00
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