fix: generate prisma client during docker build
Some checks failed
Playwright Holiday Property Booking / playwright (push) Failing after 6m26s
Deploy Holiday Property Booking / deploy (push) Successful in 3m13s
Test & Build Holiday Property Booking / test-build (push) Successful in 10m42s

This commit is contained in:
2026-05-25 13:38:15 +00:00
parent 7b9ae307a5
commit 7b6d2d8603
2 changed files with 3 additions and 3 deletions

View File

@@ -7,9 +7,9 @@ RUN npm install
COPY . .
RUN npm run prisma:generate
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "start"]
CMD ["node", ".next/standalone/server.js"]

View File

@@ -5,7 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"start": "node .next/standalone/server.js",
"lint": "eslint .",
"test:e2e": "playwright test",
"prisma:generate": "prisma generate",