File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .git
2+ .github
3+ .pytest_cache
4+ .ruff_cache
5+ .venv
6+ __pycache__
7+ * .pyc
8+ * .pyo
9+ * .pyd
10+ * .sqlite3
11+ * .db
12+ * .log
13+ .DS_Store
14+ docs /launch /
15+ docs /superpowers /
Original file line number Diff line number Diff line change 1+ FROM python:3.13-slim
2+
3+ ENV PYTHONUNBUFFERED=1 \
4+ PIP_NO_CACHE_DIR=1 \
5+ XDG_CACHE_HOME=/home/mcp/.cache
6+
7+ WORKDIR /app
8+
9+ COPY pyproject.toml README.md LICENSE ./
10+ COPY src ./src
11+
12+ RUN useradd --create-home --home-dir /home/mcp --shell /usr/sbin/nologin mcp
13+ RUN pip install --no-cache-dir .
14+
15+ # Glama only needs the server to start and respond to MCP introspection.
16+ # A symbol-only Python 3.13 index keeps the image fast and deterministic.
17+ RUN python-docs-mcp-server build-index --versions 3.13 --skip-content \
18+ && chown -R mcp:mcp /home/mcp
19+
20+ USER mcp
21+
22+ CMD ["python-docs-mcp-server" ]
You can’t perform that action at this time.
0 commit comments