mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 11:32:12 +00:00
build:standalone for docker
This commit is contained in:
@@ -54,7 +54,7 @@ if (process.env.ZITADEL_API_URL) {
|
||||
|
||||
const nextConfig = {
|
||||
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
|
||||
output: "standalone",
|
||||
output: process.env.NEXT_OUTPUT_MODE || undefined,
|
||||
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
|
||||
experimental: {
|
||||
dynamicIO: true,
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
"lint:fix": "prettier --write .",
|
||||
"lint-staged": "lint-staged",
|
||||
"build": "next build",
|
||||
"build:standalone": "NEXT_OUTPUT_MODE=standalone pnpm build",
|
||||
"prestart": "pnpm build",
|
||||
"start": "next start",
|
||||
"start:built": "next start",
|
||||
|
||||
Reference in New Issue
Block a user