chore: Add output: 'standalone' to Next.js config for Docker compatibility
- Ensures Next.js 16 generates minimal standalone output - Required for the Dockerfile's production stage to work correctly
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
output: 'standalone',
|
||||||
env: {
|
env: {
|
||||||
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3001'
|
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3001'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user