df5b61f42a
- Add multi-stage Dockerfile with standalone Next.js output - Add docker-compose.yml with Caddy reverse proxy - Add nginx configs for local and SSL setups - Add Caddyfile for automatic HTTPS - Add docker-entrypoint.sh for runtime config - Add .env.example and .dockerignore - Add comprehensive Docker README - Add /api/health endpoint for container health checks - Configure next.config.ts for standalone output
13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Enable standalone output for Docker deployment
|
|
// This creates a minimal server.js that doesn't require full node_modules
|
|
output: 'standalone',
|
|
|
|
// Turbopack configuration
|
|
turbopack: {},
|
|
};
|
|
|
|
export default nextConfig;
|