feat: update seed script to TypeScript and add tsx dependency
CI/CD / test-and-build (push) Has been cancelled
CI/CD / deploy (push) Has been cancelled

This commit is contained in:
Najjar\NajjarV02
2026-04-15 10:53:51 +04:00
parent 2397bf7f71
commit f53b2d3cb8
4 changed files with 501 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ echo "→ Syncing database schema..."
/app/node_modules/.bin/prisma db push
echo "→ Seeding database (idempotent — skips existing records)..."
node /app/prisma/seed.js
/app/node_modules/.bin/tsx /app/prisma/seed.ts
echo "→ Starting Next.js on port ${PORT:-3000}..."
exec node /app/server.js