Docker update

This commit is contained in:
mukesh13
2025-06-17 16:08:52 +05:30
parent bf1ab725b0
commit 7c50bcc33e
2 changed files with 57 additions and 11 deletions

View File

@ -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