Skip to main content
Glama
Dockerfile855 B
# Multi-stage Docker build for hevy-mcp # Build stage FROM node:lts-alpine AS builder WORKDIR /app # Copy package files and install dependencies COPY package*.json ./ RUN npm ci --ignore-scripts # Copy source code and build COPY . ./ RUN npm run build # Production stage FROM node:lts-alpine AS production WORKDIR /app # Copy package files for production dependencies COPY package*.json ./ RUN npm ci --production --ignore-scripts --no-optional && npm cache clean --force # Copy built application from builder stage COPY --from=builder /app/dist ./dist COPY --from=builder /app/src/generated ./src/generated # Create non-root user RUN addgroup -g 1001 -S nodejs && \ adduser -S nodejs -u 1001 # Change ownership of the app directory RUN chown -R nodejs:nodejs /app USER nodejs ENV NODE_ENV=production CMD [ "npm", "start", "--", "--http" ]

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/chrisdoc/hevy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server