All checks were successful
Container-Image bauen und veröffentlichen / build-and-push (push) Successful in 5m15s
17 lines
549 B
JavaScript
17 lines
549 B
JavaScript
const path = require('path')
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
distDir: process.env.TEST_DIST_DIR || '.next',
|
|
// Blendet das Next.js-Overlay unten links im Entwicklungsmodus aus.
|
|
devIndicators: false,
|
|
// Erzeugt .next/standalone mit minimalem Server für das Docker-Image.
|
|
output: 'standalone',
|
|
// Verhindert, dass Next.js wegen einer Lockfile im Home-Verzeichnis
|
|
// den falschen Workspace-Root wählt.
|
|
outputFileTracingRoot: path.join(__dirname),
|
|
}
|
|
|
|
module.exports = nextConfig
|