We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JaviMaligno/postgres-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•818 B
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
WORKDIR /app
# Copy package files and install dependencies
COPY package.json package-lock.json* ./
RUN npm ci --ignore-scripts
# Copy TypeScript configuration
COPY tsconfig.json ./
# Copy all source files
COPY src/ ./src/
# Build the TypeScript source
RUN npm run build
# Copy and set up entrypoint script
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
# Create non-root user for security
RUN addgroup -g 1001 -S nodejs
RUN adduser -S postgres-mcp -u 1001
# Change ownership of the app directory
RUN chown -R postgres-mcp:nodejs /app
USER postgres-mcp
# Use entrypoint script for flexible configuration
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD []