build: include native dependencies in standalone output and Docker image copy steps

This commit is contained in:
Michael committed 2026-04-10 10:28:26 +02:00
1 parent cf582387b5
commit 2fd431b907
2 files changed
+10 -2

No files matched your search

+7 -1
View File
@@ -2,7 +2,13 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: 'standalone',
serverExternalPackages: ['@prisma/client'],
serverExternalPackages: [
'@prisma/client',
'@prisma/adapter-better-sqlite3',
'better-sqlite3',
'bcrypt',
'prisma'
],
};
export default nextConfig;