diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..81bb65603 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +# Use Node.js 20 with Puppeteer (includes Chrome) +FROM ghcr.io/puppeteer/puppeteer:24.1.0 + +# Set working directory +WORKDIR /app + +# Copy package files +COPY package*.json ./ + +# Install dependencies +RUN npm ci + +# Copy source code +COPY . . + +# Build the project +RUN npm run build + +# Set user to non-root for security +USER pptruser + +# Expose MCP port (stdio transport doesn't need exposed ports, but good practice) +# MCP uses stdio by default when run with npx + +# Run the MCP server +CMD ["node", "build/src/index.js"]