Skip to content

Commit a6c43b1

Browse files
ltagliaferriclaude
andauthored
Add mcp server for ai docs (#2872)
[ ] Check if this is a typo or other quick fix and ignore the rest :) ## Type of change <!-- Please be sure to add the appropriate label to your PR. --> ### What should this PR do? <!-- Does this PR resolve an issue? Please include a reference to it. --> ### Why are we making this change? <!-- What larger problem does this PR address? --> ### What are the acceptance criteria? <!-- What should be happening for this PR to be accepted? Please list criteria. --> <!-- Do any stakeholders need to be tagged in this review? If so, please add them. --> ### How should this PR be tested? <!-- What should your reviewer do to test this PR? Please list steps. --> --------- Signed-off-by: ltagliaferri <[email protected]> Co-authored-by: Claude Sonnet 4.5 (1M context) <[email protected]>
1 parent b384cca commit a6c43b1

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

scripts/Dockerfile.ai-docs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,16 @@ LABEL org.opencontainers.image.licenses="Apache-2.0"
1111
LABEL dev.chainguard.ai-docs.version="latest"
1212
LABEL dev.chainguard.ai-docs.mcp-enabled="true"
1313

14-
# Install Python and dependencies for MCP server
15-
USER root
16-
RUN apk add --no-cache python3 py3-pip && \
17-
pip3 install --no-cache-dir --break-system-packages -r /tmp/mcp-requirements.txt || true
18-
USER nonroot
19-
2014
# Create directory structure
2115
WORKDIR /docs
2216

23-
# Copy MCP requirements first (for caching)
17+
# Copy MCP requirements first (for layer caching)
2418
COPY mcp-requirements.txt /tmp/
2519

26-
# Install MCP dependencies
20+
# Install Python and MCP dependencies
2721
USER root
28-
RUN pip3 install --no-cache-dir --break-system-packages -r /tmp/mcp-requirements.txt
22+
RUN apk add --no-cache python3 py3-pip && \
23+
pip3 install --no-cache-dir --break-system-packages -r /tmp/mcp-requirements.txt
2924
USER nonroot
3025

3126
# Copy documentation and verification files

0 commit comments

Comments
 (0)