# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Set working directory
WORKDIR /app
# Install pnpm
RUN npm install -g pnpm
# Copy package files
COPY package.json pnpm-lock.yaml ./
# Install dependencies
RUN pnpm install --frozen-lockfile
# Copy the rest of the source code
COPY . .
# Build the project
RUN pnpm run build
# Expose port if necessary (not specified, MCP typically runs via stdio)
# Run the MCP server
CMD ["node", "dist/index.cjs"]