We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/piskunproject/notion-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•1.07 KiB
# syntax=docker/dockerfile:1
# Use Node.js LTS as the base image
FROM apify/actor-node:20 AS builder
# Set working directory
WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies (including dev dependencies for build)
ENV NODE_ENV=development
RUN npm ci --ignore-scripts --include=dev
# Copy source code
COPY . .
# Build the package (this creates dist/ directory)
RUN npm run build
# Minimal image for runtime
FROM apify/actor-node:20
# Set working directory
WORKDIR /app
# Copy package.json for runtime dependencies only
COPY package*.json ./
# Install only production dependencies
RUN npm ci --ignore-scripts --omit-dev
# Copy built files from builder stage
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/scripts/notion-openapi.json ./scripts/notion-openapi.json
COPY --from=builder /app/bin ./bin
# Set default environment variables
ENV OPENAPI_MCP_HEADERS="{}"
ENV NODE_ENV="production"
# Expose the port
EXPOSE 4321
EXPOSE 8080
# Set entrypoint to run the Apify server
ENTRYPOINT ["node", "dist/src/start-apify.js"]