# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies without running any scripts
RUN npm install --ignore-scripts
# Copy the rest of the source code
COPY . .
# Build the project
RUN npm run build
# Expose port if needed (SSE transport might require it, but here we're using stdio)
# Use index.js as the entrypoint
CMD ["node", "build/index.js"]