Deployment: Dockerfile and Smithery config (#1)

Co-authored-by: smithery-ai[bot] <194235850+smithery-ai[bot]@users.noreply.github.com>
This commit is contained in:
smithery-ai[bot]
2025-03-03 23:47:57 -05:00
committed by GitHub
parent 311a4b204f
commit 0479d9972a
3 changed files with 53 additions and 0 deletions

25
Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Create app directory
WORKDIR /app
# Install pnpm
RUN npm install -g pnpm
# Copy package files
COPY package.json pnpm-lock.yaml ./
# Install dependencies without running prepare scripts (we run build explicitly)
RUN pnpm install --frozen-lockfile --ignore-scripts
# Copy rest of the source
COPY . .
# Build the project
RUN pnpm run build
# Expose any necessary port if needed, but MCP uses stdio so not required
# Set the entry point
CMD [ "node", "build/index.js" ]