Files
chat_room/next.config.ts
T
mobiniqow 665838bbe7 Add Docker support (standalone Next.js output)
Multi-stage Dockerfile producing a minimal runtime image via
next.config.ts's output:"standalone". NEXT_PUBLIC_API_URL is taken as
a build arg since it gets baked into the client bundle at build time.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 00:01:41 +03:30

9 lines
265 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// برای build خروجی مستقل (بدون نیاز به node_modules کامل) — لازم برای ایمیج Docker سبک
output: "standalone",
};
export default nextConfig;