Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
FROM node:22.14.0-alpine
# Use ECR Public mirror to avoid Docker Hub anonymous rate limit (429) on shared CI/build IPs
FROM public.ecr.aws/docker/library/node:22.14.0-alpine

WORKDIR /app

# Copy package files
COPY package.json package-lock.json ./

# Install pnpm and dependencies
RUN npm install
# Install dependencies only (--ignore-scripts: avoid "prepare" running build+test before source is copied)
RUN npm install --ignore-scripts

# Copy application code
COPY . .

# Build TypeScript
RUN npm run build

# Command will be provided by smithery.yaml
CMD ["node", "dist/index.js"]
EXPOSE 8080

# Wrap stdio MCP server with mcp-proxy (streamable HTTP + SSE on port 8080)
CMD ["npx", "mcp-proxy", "--port", "8080", "--", "node", "dist/index.js"]
Loading