Notion MCP

# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile FROM python:3.11-alpine # Set environment variables for Python ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 # Set working directory WORKDIR /app # Install system dependencies RUN apk add --no-cache gcc musl-dev libffi-dev # Copy dependency files COPY pyproject.toml ./ COPY uv.lock ./ COPY .env.example ./ # Install pip dependencies RUN pip install --upgrade pip \ && pip install --no-cache-dir -e . # Copy rest of the project files COPY . . # If .env file doesn't exist, copy .env.example to .env RUN if [ ! -f .env ]; then cp .env.example .env; fi # Default command to run the MCP server CMD ["python", "src/server.py"]