Skip to main content
Glama

Docfork

Official
Dockerfile824 B
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile # ----- Build Stage ----- FROM node:lts-alpine AS builder WORKDIR /app # Copy package files and TypeScript config COPY package.json package-lock.json tsconfig.json ./ # Copy source code COPY src ./src # Install dependencies and build RUN npm ci && npm run build # ----- Production Stage ----- FROM node:lts-alpine WORKDIR /app # Copy built artifacts COPY --from=builder /app/dist ./dist # Copy package.json for production install COPY package.json package-lock.json ./ # Install only production dependencies RUN npm ci --only=production --ignore-scripts # Set default environment variables for HTTP mode ENV MCP_TRANSPORT=streamable-http ENV PORT=3000 # Expose HTTP port EXPOSE 3000 # Default command 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/docfork/docfork-mcp'

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