Docker update
This commit is contained in:
@ -1,6 +1,23 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
// Enable standalone output for Docker optimization
|
||||
output: 'standalone',
|
||||
};
|
||||
|
||||
// Reduce build time optimizations
|
||||
experimental: {
|
||||
// Reduce memory usage during build
|
||||
workerThreads: false,
|
||||
// Skip type checking during build (do it separately)
|
||||
typedRoutes: false,
|
||||
},
|
||||
|
||||
// Disable source maps in production for faster builds
|
||||
productionBrowserSourceMaps: false,
|
||||
|
||||
// Optimize images
|
||||
images: {
|
||||
unoptimized: true, // Skip image optimization during build
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = nextConfig;
|
||||
module.exports = nextConfig
|
||||
Reference in New Issue
Block a user