We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sebszczec/pihole-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•603 B
FROM python:3.12-slim
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for better caching
COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the application code
COPY main.py .
COPY config.json .
# Create a non-root user
RUN useradd --create-home --shell /bin/bash app && chown -R app:app /app
USER app
# Expose port (only used in port mode)
EXPOSE 8000
# Run the application
CMD ["python", "main.py"]