From 11af7921e8347d5bcc55b5d91b8aeecd086bbabe Mon Sep 17 00:00:00 2001 From: Francesco Date: Thu, 19 Feb 2026 02:57:04 +0000 Subject: [PATCH] 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 --- frontend/next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/next.config.js b/frontend/next.config.js index ba320de..8b27aaa 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -1,6 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, + output: 'standalone', env: { NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3001' }