From 6e158be4aca7f4777baac6230907db29ec6877f2 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Thu, 9 Jan 2025 21:31:10 -0800 Subject: [PATCH] Removed Prisma fixes from v5. --- Dockerfile | 4 ++-- db/mysql/schema.prisma | 2 +- db/postgresql/schema.prisma | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 824c16db..be0b850a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,8 +36,8 @@ RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs RUN set -x \ - && apk add --no-cache curl openssl \ - && yarn add npm-run-all dotenv semver prisma@5.17.0 + && apk add --no-cache curl \ + && yarn add npm-run-all dotenv semver prisma # You only need to copy next.config.js if you are NOT using the default configuration COPY --from=builder /app/next.config.js . diff --git a/db/mysql/schema.prisma b/db/mysql/schema.prisma index 476e445f..2c5bec4e 100644 --- a/db/mysql/schema.prisma +++ b/db/mysql/schema.prisma @@ -1,6 +1,6 @@ generator client { provider = "prisma-client-js" - binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"] + binaryTargets = ["native"] } datasource db { diff --git a/db/postgresql/schema.prisma b/db/postgresql/schema.prisma index b95e4c52..8f063f8f 100644 --- a/db/postgresql/schema.prisma +++ b/db/postgresql/schema.prisma @@ -1,6 +1,6 @@ generator client { provider = "prisma-client-js" - binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"] + binaryTargets = ["native"] } datasource db {