Skip to main content
Glama
IBM
by IBM
Dockerfile851 B
# Build stage FROM node:20-alpine AS builder WORKDIR /app # Install pnpm RUN npm install -g pnpm # Copy package files COPY package*.json ./ COPY pnpm-lock.yaml* ./ # Install dependencies RUN pnpm install --frozen-lockfile # Copy application files (node_modules excluded via .dockerignore) COPY . . # Build the application RUN pnpm run build # Production stage FROM node:20-alpine AS runner WORKDIR /app # Set to production environment ENV NODE_ENV=production # Install pnpm RUN npm install -g pnpm # Copy package files COPY package*.json ./ COPY pnpm-lock.yaml* ./ # Install only production dependencies RUN pnpm install --prod --frozen-lockfile # Copy built files from builder COPY --from=builder /app/.next ./.next COPY --from=builder /app/next.config.ts ./ # Expose the port EXPOSE 3000 # Start the application CMD ["pnpm", "start"]

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/IBM/ibmi-mcp'

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