# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Set working directory
WORKDIR /app
# Copy package.json and package-lock.json first
COPY package*.json ./
# Install dependencies without running scripts (if needed)
RUN npm install --ignore-scripts
# Copy rest of the source code
COPY . .
# Build the project
RUN npm run build
# Expose any port if necessary (MCP servers typically use stdio, so not needed)
# Command to run the server
CMD [ "node", "dist/index.js" ]