Files
2026-07-13 12:58:18 +08:00

19 lines
412 B
Docker

# Dockerfile for the LangGraph JS agent.
# Mirrors the user experience: npm install + langgraph-cli dev.
FROM node:22-alpine
WORKDIR /app
# Copy agent package files
COPY package.json ./
COPY langgraph.json ./
COPY tsconfig.json ./
COPY src/ ./src/
# Install dependencies
RUN npm install
EXPOSE 8123
CMD ["npx", "@langchain/langgraph-cli@1.2.1", "dev", "--host", "0.0.0.0", "--port", "8123", "--no-browser"]