no turbo again
This commit is contained in:
@@ -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
8
next.config.mjs
Normal 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;
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
import type { NextConfig } from "next";
|
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
|
||||||
output: "standalone",
|
|
||||||
serverExternalPackages: ["@prisma/client", "prisma"],
|
|
||||||
};
|
|
||||||
|
|
||||||
export default nextConfig;
|
|
||||||
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
generator client {
|
generator client {
|
||||||
provider = "prisma-client-js"
|
provider = "prisma-client-js"
|
||||||
engineType = "library"
|
engineType = "binary"
|
||||||
}
|
}
|
||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
|
|||||||
Reference in New Issue
Block a user