Files
copilotkit__copilotkit/showcase/integrations/mastra/entrypoint.sh
Jordan Ritter dd06dd89d1 refactor(showcase): rename packages/ to integrations/
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.
2026-04-28 07:47:35 -07:00

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}"