Files
v0-v0app/next.config.mjs
v0 8e89f35e92 fix: resolve Docker build failures and configuration issues
Add missing dependencies, fix Next.js config, update Docker Compose, and configure Tailwind CSS.

#VERCEL_SKIP

Co-authored-by: Anders Lehmann Pier <3219386+AndersPier@users.noreply.github.com>
2025-06-19 21:53:56 +00:00

45 lines
886 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
// Remove the invalid outputFileTracingRoot option
experimental: {
// Add any valid experimental options here if needed
},
// Optimize for Docker
compress: true,
poweredByHeader: false,
// Security headers
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'X-Frame-Options',
value: 'DENY',
},
{
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'Referrer-Policy',
value: 'origin-when-cross-origin',
},
],
},
]
},
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
images: {
unoptimized: true,
},
}
export default nextConfig