FROM node:22.17.1-alpine3.21 AS build
# Set working directory
WORKDIR /app
# Copy the source code
COPY . .
# Install dependencies
RUN npm ci
# Build the application
RUN npm run build
# RUNTIME STAGE
FROM node:22.17.1-alpine3.21
# Set working directory
WORKDIR /app
# Copy package files and install production dependencies
COPY --from=build --chown=node:node /app/package.json /app/package-lock.json /app/
RUN npm ci --only=production --ignore-scripts && npm cache clean --force
# Copy the built application
COPY --from=build --chown=node:node /app/dist /app/dist
# Run image as non-root user
USER node
# Start the application
CMD ["node", "dist/index.js"]
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/dynatrace-oss/dynatrace-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server