Skip to content

Commit

Permalink
fix: 锁定 prisma 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
besscroft committed Aug 16, 2024
1 parent 95cdf47 commit 90ea3e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apk add --no-cache libc6-compat

WORKDIR /app

RUN corepack enable pnpm && pnpm add prisma @prisma/client
RUN corepack enable pnpm && pnpm add prisma@5.17.0 @prisma/client@5.17.0

FROM base AS builder

Expand Down
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

npx prisma migrate deploy
npx prisma@5.17.0 migrate deploy

HOSTNAME="0.0.0.0" node server.js

0 comments on commit 90ea3e2

Please sign in to comment.