- Ensures Next.js 16 generates minimal standalone output - Required for the Dockerfile's production stage to work correctly
11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
output: 'standalone',
|
|
env: {
|
|
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3001'
|
|
}
|
|
}
|
|
|
|
module.exports = nextConfig
|