automotion-agent / Dockerfile
huodon's picture
WTF langgraph
80b9899
raw
history blame
509 Bytes
# Use the latest Node.js LTS version
FROM node:latest
# Install pnpm globally
RUN npm install -g pnpm
# Set working directory
WORKDIR /app
# Copy dist directory to the container
COPY dist ./dist
COPY package.json ./
COPY langgraph.json ./
# Install dependencies using pnpm
RUN pnpm install
# Create an empty .gitignore file with proper permissions
RUN touch .gitignore && chmod 666 .gitignore
# Expose the port
EXPOSE 7860
# Start the LangGraph agent server
CMD ["pnpm", "run", "dev:agent:langgraph"]