From f5e3a1e870ce5700cf4e360df591c76062c97bf7 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 12 Mar 2026 20:02:25 -0500 Subject: [PATCH] no turbo again --- Dockerfile | 3 ++- next.config.mjs | 8 ++++++++ next.config.ts | 8 -------- package.json | 2 +- prisma/schema.prisma | 2 +- 5 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 next.config.mjs delete mode 100644 next.config.ts diff --git a/Dockerfile b/Dockerfile index 43c258f..e5238dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,8 @@ COPY . . # Generate Prisma Client (with SQLite) ENV DATABASE_URL="file:/app/data/dev.db" -ENV PRISMA_CLIENT_ENGINE_TYPE=library +ENV PRISMA_CLIENT_ENGINE_TYPE=binary +ENV NEXT_TURBO=0 RUN npx prisma generate # Disable telemetry during build diff --git a/next.config.mjs b/next.config.mjs new file mode 100644 index 0000000..9804c48 --- /dev/null +++ b/next.config.mjs @@ -0,0 +1,8 @@ +/** @type {import("next").NextConfig} */ +console.log("Loading next.config.mjs with serverExternalPackages"); +const nextConfig = { + output: "standalone", + serverExternalPackages: ["@prisma/client", "prisma"], +}; + +export default nextConfig; diff --git a/next.config.ts b/next.config.ts deleted file mode 100644 index bc98279..0000000 --- a/next.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { NextConfig } from "next"; - -const nextConfig: NextConfig = { - output: "standalone", - serverExternalPackages: ["@prisma/client", "prisma"], -}; - -export default nextConfig; diff --git a/package.json b/package.json index 7ceb6f6..cfd86c1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build --no-turbo", + "build": "next build", "start": "next start", "lint": "eslint" }, diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 4029126..f8a9635 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -3,7 +3,7 @@ generator client { provider = "prisma-client-js" - engineType = "library" + engineType = "binary" } datasource db {