mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
dd06dd89d1
The showcase framework directories better reflect their role as integration examples rather than distributable packages. Renames showcase/packages/ -> showcase/integrations/ and updates the test docker-compose file reference accordingly.
14 lines
522 B
Bash
14 lines
522 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "========================================="
|
|
echo "[entrypoint] PORT=${PORT:-10000}"
|
|
echo "[entrypoint] Starting Next.js frontend..."
|
|
echo "========================================="
|
|
|
|
# Scope NODE_ENV=production to the Next.js invocation ONLY. Image-scope
|
|
# ENV NODE_ENV=production would leak into any child process (shell scripts,
|
|
# healthchecks, future agent subprocesses) — for parity with other packages
|
|
# we scope it here.
|
|
exec env NODE_ENV=production npx next start --port "${PORT:-10000}"
|