We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcp-fe/mcp-fereact-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•981 B
# --- Builder Stage ---
# Force to use native runner platform for build (amd64)
FROM --platform=$BUILDPLATFORM node:20-alpine AS builder
# Turn off NX daemon for CI
ENV NX_DAEMON=false
WORKDIR /app
RUN corepack enable
COPY . .
RUN pnpm install --frozen-lockfile
RUN pnpm nx build mcp-server --configuration=production
# --- Runtime Stage ---
FROM node:20-alpine
WORKDIR /app
RUN corepack enable
# Install wget for health checks
RUN apk add --no-cache wget
# Copy built application from builder stage
COPY --from=builder /app/dist/apps/mcp-server ./
# Install only production dependencies for target platform
RUN pnpm install --prod --frozen-lockfile
ENV NODE_ENV=production
ENV PORT=3001
# Expose the port
EXPOSE 3001
# Health check using liveness probe endpoint
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3001/health/live || exit 1
# Start the application
CMD ["node", "main.js"]