- Multi-stage Dockerfile (deps → build → runner) for optimized production image - Enable Next.js standalone output for minimal container size - Add .dockerignore to exclude dev artifacts from build context - Add frontend service to docker-compose.yml with API dependency https://claude.ai/code/session_01QU6gpDgMtX4b9k1UXTivEf
7 lines
129 B
TypeScript
7 lines
129 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
};
|
|
|
|
export default nextConfig;
|