Skip to content

Commit ade947c

Browse files
committed
fix build
1 parent 7d7bc20 commit ade947c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ COPY package*.json ./
77
RUN npm ci
88

99
COPY . .
10-
RUN npx prisma generate
1110
RUN npm run build
1211

1312
# Production stage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": true,
77
"license": "UNLICENSED",
88
"scripts": {
9-
"build": "nest build",
9+
"build": "prisma generate && nest build",
1010
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
1111
"start": "nest start",
1212
"start:dev": "nest start --watch",

0 commit comments

Comments
 (0)