# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# syntax=docker/dockerfile:1
# Builder stage
FROM node:20-alpine AS builder
WORKDIR /app
# Install all dependencies and skip lifecycle scripts
COPY package.json package-lock.json tsconfig.json ./
RUN npm ci --ignore-scripts
# Copy source and build
COPY src ./src
RUN npm run build
# Production stage
FROM node:20-alpine AS runner
WORKDIR /app
# Copy package files and install production dependencies without scripts
COPY package.json package-lock.json ./
RUN npm ci --omit=dev --production --ignore-scripts
# Copy built artifacts from builder
COPY --from=builder /app/dist ./dist
# Ensure executable permission
RUN chmod +x dist/index.js
# Use node to run the MCP server
ENTRYPOINT ["node", "dist/index.js"]
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/heroku/heroku-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server