mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
621c4e3bd1
The demos layout's `generateMetadata` calls `headers()` (forces dynamic rendering) and reads `manifest.yaml` at request time for per-demo titles. The Dockerfile's runner stage didn't include the manifest, so every `/demos/*` route in production threw a Server Components render error (ENOENT on /app/manifest.yaml). The home page was unaffected because it has no dynamic APIs and gets statically prerendered at build time. Add a single COPY of `manifest.yaml` into the runner stage.
3.5 KiB
3.5 KiB