# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Create app directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies but ignore prepare scripts
RUN npm install --ignore-scripts
# Copy source code
COPY . .
# Build the project
RUN npm run build
# Expose the port if needed (but MCP uses stdio, so not needed)
# Run the MCP server
CMD ["node", "build/index.js"]