Skip to main content
Glama
UNES97

APM Terminal Operations Intelligence

by UNES97
Dockerfile898 B
# APM Terminal MCP Server - Dockerfile FROM node:20-alpine # Set working directory WORKDIR /app # Install dependencies first (for better caching) COPY package*.json ./ RUN npm ci --only=production && npm cache clean --force # Copy application source COPY . . # Build TypeScript RUN npm install typescript @types/node @types/express @types/cors --save-dev && \ npm run build && \ npm prune --production # Create non-root user for security RUN addgroup -g 1001 -S nodejs && \ adduser -S nodejs -u 1001 && \ chown -R nodejs:nodejs /app # Switch to non-root user USER nodejs # Expose port EXPOSE 3000 # Health check 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)})" # Start the chat server 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