Skip to main content
Glama
UNES97

APM Terminal Operations Intelligence

by UNES97
Dockerfile1 kB
FROM node:20-slim # Install build dependencies RUN apt-get update && apt-get install -y \ python3 \ make \ g++ \ && rm -rf /var/lib/apt/lists/* WORKDIR /app # Copy package files COPY package*.json ./ # Install ALL dependencies (needed for build) # Use --ignore-scripts to skip the prepare script (which needs source code) RUN npm ci --ignore-scripts # Copy application code COPY . . # Build TypeScript, then remove dev dependencies RUN npm run build && \ npm prune --omit=dev # Clean up build tools to reduce image size RUN apt-get purge -y python3 make g++ && \ apt-get autoremove -y && \ rm -rf /var/lib/apt/lists/* # Create non-root user RUN useradd -m -u 1001 nodejs && chown -R nodejs:nodejs /app USER nodejs EXPOSE 3000 HEALTHCHECK --interval=30s --timeout=3s --start-period=40s --retries=3 \ CMD node -e "require('http').get('http://localhost:3000/api/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})" CMD ["node", "build/chat-server.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/UNES97/mcp-db-demo'

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