Files
copilotkit__copilotkit/examples/integrations/crewai-crews/package.json
Jordan Ritter 8c26e30fba Dockerize all 12 starter examples for Railway deployment
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
2026-04-07 14:08:28 -07:00

35 lines
1005 B
JSON

{
"name": "crewai-crew-starter",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "concurrently \"npm run dev:ui\" \"npm run dev:agent\" --names ui,agent --prefix-colors blue,green --kill-others",
"dev:agent": "./scripts/run-agent.sh || scripts\\run-agent.bat",
"dev:ui": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"install:agent": "./scripts/setup-agent.sh || scripts\\setup-agent.bat",
"postinstall": "npm run install:agent"
},
"dependencies": {
"@ag-ui/crewai": "^0.0.2",
"@copilotkit/react-core": "1.9.3",
"@copilotkit/react-ui": "1.9.3",
"@copilotkit/runtime": "1.9.3",
"next": "^15.3.8",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.4"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"concurrently": "^9.1.2",
"tailwindcss": "^4",
"typescript": "^5"
}
}