# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Create app directory
WORKDIR /app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
COPY package*.json ./
# Install dependencies without running prepare scripts
RUN npm install --ignore-scripts
# Build the project
COPY . .
RUN npm run build
# Ensure the entrypoint is executable
RUN chmod +x build/index.js
# Expose any necessary ports (if applicable)
# Command to run the MCP server
CMD ["node", "build/index.js"]