# 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 package-lock.json ./
# Install dependencies (ignoring prepare script to speed build if possible)
RUN npm install --ignore-scripts
# Copy all source files
COPY . .
# Build the project
RUN npm run build
RUN npx puppeteer browsers install chrome
# Expose no port (stdio)
# Run the MCP server
ENTRYPOINT ["node", "dist/index.js"]