/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, // Docker 部署时使用 standalone 输出模式 output: 'standalone', // 环境变量 env: { API_BASE_URL: process.env.API_BASE_URL || 'http://localhost:8000', }, // 图片域名白名单 images: { domains: ['localhost'], }, // 实验性功能 experimental: { // 服务端组件 serverComponentsExternalPackages: [], }, } module.exports = nextConfig