diff --git a/Dockerfile b/Dockerfile index 144912d..7980c9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/script.sh b/script.sh index 4ef7bd8..e108cbe 100644 --- a/script.sh +++ b/script.sh @@ -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