# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
COPY tsconfig.json ./
RUN npm install --ignore-scripts
# Copy the rest of the source code
COPY . .
# Build the project
RUN npm run build
# Expose port if necessary (not required for stdio based MCP server)
# Run the MCP server via node
CMD ["node", "build/index.js"]