fix: bootstrap prisma data before app start

This commit is contained in:
2026-05-31 00:56:12 +00:00
parent ab2f9677fa
commit 38b18b7881
3 changed files with 3 additions and 1 deletions

View File

@@ -17,4 +17,4 @@ RUN npm run build
EXPOSE 3000
CMD ["node", ".next/standalone/server.js"]
CMD ["sh", "-c", "npm run prisma:migrate:deploy && npm run prisma:seed && node .next/standalone/server.js"]