Skip to main content
Glama
Dockerfile518 B
FROM node:20-alpine WORKDIR /app # Install dependencies for native modules and build tools RUN apk add --no-cache python3 make g++ docker-cli # Copy package files COPY package*.json ./ # Install dependencies RUN npm ci --only=production # Copy built application COPY dist/ ./dist/ # Run as non-root user (after build) # Note: User needs access to Docker socket, so we'll keep as root for now # In production, consider using Docker socket proxy with proper permissions EXPOSE 3005 CMD ["node", "dist/index.js"]

Latest Blog Posts

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/bshandley/homelab-mcp'

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