feat: Add Docker support with development and production configurations

This commit is contained in:
2025-08-04 15:56:11 +02:00
parent ec1dbaa2a7
commit 6aa0a659cc
8 changed files with 216 additions and 2 deletions

View File

@@ -1,7 +1,16 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
// Allow external connections in development
experimental: {
serverComponentsExternalPackages: ['better-sqlite3'],
},
// Configure for Docker development
...(process.env.NODE_ENV === 'development' && {
env: {
HOSTNAME: '0.0.0.0',
},
}),
};
export default nextConfig;