Add Dockerfile

This commit is contained in:
smithery-ai[bot] 2025-03-25 05:06:44 +00:00 committed by GitHub
parent a392aa8167
commit fb4a68b7a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 0 deletions

22
Dockerfile Normal file
View File

@ -0,0 +1,22 @@
# 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 without running scripts
RUN npm install --ignore-scripts
# Copy source code
COPY . .
# Build the TypeScript code
RUN npm run build
# Expose any port if needed (Not required for stdio deployment)
# Default command to run the MCP server
CMD ["node", "build/index.js"]