production configs, deployment configs and readme
This commit is contained in:
@@ -8,6 +8,10 @@ const nextConfig = {
|
||||
},
|
||||
],
|
||||
},
|
||||
// Enable standalone output for Docker production builds
|
||||
output: process.env.NODE_ENV === 'production' ? 'standalone' : undefined,
|
||||
// External packages for better SQLite3 compatibility (Next.js 15+ syntax)
|
||||
serverExternalPackages: ['better-sqlite3'],
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user