mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
21 lines
493 B
Docker
21 lines
493 B
Docker
# Dockerfile for the LangGraph JS agent.
|
|
# Mirrors the user experience: pnpm install + langgraph-cli dev.
|
|
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
RUN corepack enable && corepack prepare pnpm@latest --activate
|
|
|
|
# Copy agent package files
|
|
COPY package.json ./
|
|
COPY langgraph.json ./
|
|
COPY tsconfig.json ./
|
|
COPY src/ ./src/
|
|
|
|
# Install dependencies
|
|
RUN pnpm install --no-frozen-lockfile
|
|
|
|
EXPOSE 8123
|
|
|
|
CMD ["npx", "@langchain/langgraph-cli", "dev", "--host", "0.0.0.0", "--port", "8123", "--no-browser"]
|