# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
FROM node:lts-alpine
# Create app directory
WORKDIR /app
# Copy package definition and tsconfig first for dependencies
COPY package.json tsconfig.json ./
# Install dependencies without running prepare scripts
RUN npm install --ignore-scripts
# Copy source and build
COPY . .
RUN npm run build
# Create non-root user for security (fixes CVE-2019-5736 and OWASP Rule #2)
RUN addgroup -g 1001 -S nodejs && \
adduser -S coderide -u 1001 -G nodejs
# Change ownership of app directory to non-root user
RUN chown -R coderide:nodejs /app
# Switch to non-root user
USER coderide
# Default environment
ENV NODE_ENV=production
# Use stdio entrypoint with non-root user
ENTRYPOINT ["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/PixdataOrg/coderide-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server