mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
98a6167de2
Completes the NODE_ENV scope cleanup started in the prior Python packages commit. Image-scope ENV NODE_ENV=production leaks into every child process (agent subprocesses, healthchecks, shell scripts) — several frameworks change behavior under NODE_ENV and should NOT see 'production' when running as an agent backend. - mastra: Dockerfile drops image ENV; entrypoint.sh now invokes 'env NODE_ENV=production npx next start' (was relying on image ENV). - spring-ai: Dockerfile drops image ENV; entrypoint.sh now scopes NODE_ENV=production to the Next.js child only (Java agent never interpreted NODE_ENV but the scoping matches every other package). - langgraph-python entrypoint: 'npx next start' now inherits NODE_ENV=production via 'env' wrapper (Dockerfile already removed image ENV in prior commit).
6.9 KiB
6.9 KiB