mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
8c26e30fba
Each starter gets a Dockerfile, entrypoint.sh, and .dockerignore. Docker-specific adaptations only — original code untouched: - HOSTNAME=0.0.0.0 for Next.js standalone - PORT override for Python agents (Railway sets PORT=3000) - uv sync --frozen for exact dep resolution from lockfiles - serve.py + docker-route-override.ts for LangGraph starters (langgraph-cli dev needs Docker-in-Docker, unavailable on Railway) - next.config.ts: ignoreBuildErrors for HttpAgent type mismatch - Mastra: workingMemory scope: thread for standalone deploy - CVE fix: patch package.json to next@15.3.8 at deploy time
13 lines
320 B
TypeScript
13 lines
320 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
serverExternalPackages: ["@copilotkit/runtime"],
|
|
typescript: {
|
|
// Docker route override uses HttpAgent which has a type mismatch with CopilotRuntime
|
|
ignoreBuildErrors: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|