fix: bootstrap prisma data before app start
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user