ci: fix vercel build

This commit is contained in:
Vasily Zubarev
2025-03-21 18:47:16 +01:00
parent f6dc617eae
commit 1647662e09
2 changed files with 2 additions and 5 deletions

View File

@@ -16,9 +16,6 @@ RUN npm ci
# Copy source code # Copy source code
COPY . . COPY . .
# Generate Prisma client
RUN npx prisma generate
# Build the application # Build the application
RUN npm run build RUN npm run build

View File

@@ -5,11 +5,11 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "next dev --turbopack", "dev": "next dev --turbopack",
"build": "next build", "build": "prisma generate && next build",
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint",
"seed": "ts-node prisma/seed.ts", "seed": "ts-node prisma/seed.ts",
"postinstall": "prisma generate && prisma migrate deploy && npm run seed" "postinstall": "prisma migrate deploy && npm run seed"
}, },
"dependencies": { "dependencies": {
"@fast-csv/format": "^5.0.2", "@fast-csv/format": "^5.0.2",