Files
copilotkit__copilotkit/examples/integrations/langgraph-python/docker/Dockerfile.agent
T
Alem Tuzlak 453097ff18 fix: convert starter templates from pnpm/Turborepo to flat npm projects
Flatten langgraph-python, langgraph-js, and mcp-apps starters so
npm install && npm run dev works out of the box. Replace Turborepo
with concurrently, move apps/* to root, update Dockerfiles, READMEs,
and entrypoints. Also remove stray pnpm-lock.yaml from a2a-a2ui and
ms-agent-framework-dotnet starters.
2026-04-16 13:23:30 +02:00

25 lines
711 B
Docker

# Dockerfile for the Python LangGraph agent.
# Mirrors the user experience: uv sync + langgraph dev (same as npm run dev:agent).
FROM python:3.12-slim
RUN apt-get update && \
apt-get install -y --no-install-recommends curl && \
curl -LsSf https://astral.sh/uv/install.sh | sh && \
apt-get clean && rm -rf /var/lib/apt/lists/*
ENV PATH="/root/.local/bin:$PATH"
WORKDIR /app
# Copy agent source and install deps the same way users do (uv sync)
COPY pyproject.toml uv.lock langgraph.json ./
COPY src/ ./src/
COPY main.py ./
RUN uv sync
EXPOSE 8123
# Run langgraph dev the same way the npm wrapper does
CMD ["uv", "run", "langgraph", "dev", "--host", "0.0.0.0", "--port", "8123", "--no-browser"]