production configs, deployment configs and readme

This commit is contained in:
mikicvi
2025-09-28 13:35:08 +01:00
parent b95a2ab2e4
commit 429eebb68f
15 changed files with 1115 additions and 44 deletions
+4
View File
@@ -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;