import type { NextConfig } from 'next' const nextConfig: NextConfig = { // Emits .next/standalone — the Docker image copies only that, not node_modules. output: 'standalone', async headers() { return [ { source: '/:path*', headers: [ { key: 'X-Frame-Options', value: 'DENY' }, { key: 'X-Content-Type-Options', value: 'nosniff' }, { key: 'Referrer-Policy', value: 'origin-when-cross-origin' }, { key: 'Strict-Transport-Security', value: 'max-age=31536000; includeSubDomains', }, ], }, ] }, } export default nextConfig