Enable standalone output for Docker
All checks were successful
All checks were successful
This commit is contained in:
parent
2759bd6c9d
commit
c2d3897acf
1 changed files with 3 additions and 0 deletions
|
|
@ -53,6 +53,9 @@ const nextConfig: NextConfig = {
|
||||||
trailingSlash: false,
|
trailingSlash: false,
|
||||||
poweredByHeader: false,
|
poweredByHeader: false,
|
||||||
|
|
||||||
|
// Enable standalone output for Docker
|
||||||
|
output: 'standalone',
|
||||||
|
|
||||||
// Compiler optimizations
|
// Compiler optimizations
|
||||||
compiler: {
|
compiler: {
|
||||||
removeConsole: process.env.NODE_ENV === 'production',
|
removeConsole: process.env.NODE_ENV === 'production',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue