We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/drvova/discord-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•879 B
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
COPY web/package*.json ./web/
COPY tsconfig.json ./
COPY src ./src
COPY web ./web
RUN npm ci
RUN npm --prefix web ci
RUN npm --prefix web run build
RUN npm run build
FROM node:20-alpine
WORKDIR /app
# Install necessary packages for networking and stdio handling
RUN apk add --no-cache dumb-init
# Copy package files and install only production dependencies
COPY --from=builder /app/package*.json ./
RUN npm ci --only=production --ignore-scripts && npm cache clean --force
# Copy built application
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/web/dist ./web/dist
ENV DISCORD_TOKEN=""
ENV DISCORD_GUILD_ID=""
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000
# Use dumb-init to handle signals properly for stdio transport
ENTRYPOINT ["dumb-init", "--"]
CMD ["node", "dist/src/index.js"]