no turbo again

This commit is contained in:
2026-03-12 20:02:25 -05:00
parent 1d7c564c4a
commit f5e3a1e870
5 changed files with 12 additions and 11 deletions

View File

@@ -17,7 +17,8 @@ COPY . .
# Generate Prisma Client (with SQLite) # Generate Prisma Client (with SQLite)
ENV DATABASE_URL="file:/app/data/dev.db" 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 RUN npx prisma generate
# Disable telemetry during build # Disable telemetry during build

8
next.config.mjs Normal file
View File

@@ -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;

View File

@@ -1,8 +0,0 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
serverExternalPackages: ["@prisma/client", "prisma"],
};
export default nextConfig;

View File

@@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build --no-turbo", "build": "next build",
"start": "next start", "start": "next start",
"lint": "eslint" "lint": "eslint"
}, },

View File

@@ -3,7 +3,7 @@
generator client { generator client {
provider = "prisma-client-js" provider = "prisma-client-js"
engineType = "library" engineType = "binary"
} }
datasource db { datasource db {