Skip to content

Commit 42888f4

Browse files
authored
Merge pull request #25 from GeneralMagicio/fix-build
fix build config for yarn v2 migration
2 parents 3e02672 + c73c437 commit 42888f4

File tree

3 files changed

+4
-355
lines changed

3 files changed

+4
-355
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN npm install -g @nestjs/cli
1010
RUN npm install -g corepack && corepack enable
1111
RUN yarn install
1212
COPY . .
13-
RUN npx prisma generate
13+
RUN yarn prisma generate
1414
RUN yarn run build
1515
EXPOSE 3000
1616
ENTRYPOINT ["sh", "-c", "npx prisma migrate deploy && yarn run start:prod"]

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
"@nestjs/core": "^11.0.1",
2626
"@nestjs/mapped-types": "*",
2727
"@nestjs/platform-express": "^11.0.1",
28-
"@prisma/client": "^6.5.0",
2928
"class-validator": "^0.14.1",
30-
"prisma": "^6.5.0",
3129
"reflect-metadata": "^0.2.2",
3230
"rxjs": "^7.8.1"
3331
},
@@ -37,6 +35,7 @@
3735
"@nestjs/cli": "^11.0.0",
3836
"@nestjs/schematics": "^11.0.0",
3937
"@nestjs/testing": "^11.0.1",
38+
"@prisma/client": "^6.5.0",
4039
"@swc/cli": "^0.6.0",
4140
"@swc/core": "^1.10.7",
4241
"@types/express": "^5.0.0",

0 commit comments

Comments
 (0)