Problem
From the image bloat analysis: after uv pip install populates /opt/mcp-venv, the uv download cache at /root/.cache/uv is left in the layer. This is unnecessary in a runtime image.
Fix
Add to the Python venv RUN block in Dockerfile.base:
```dockerfile
&& rm -rf /root/.cache/uv
```
Expected savings
Varies by package count, typically 100-300 MB depending on the wheel cache size.
Context
Part of the ongoing image bloat reduction work (see also #17, #18).
Problem
From the image bloat analysis: after
uv pip installpopulates/opt/mcp-venv, the uv download cache at/root/.cache/uvis left in the layer. This is unnecessary in a runtime image.Fix
Add to the Python venv RUN block in
Dockerfile.base:```dockerfile
&& rm -rf /root/.cache/uv
```
Expected savings
Varies by package count, typically 100-300 MB depending on the wheel cache size.
Context
Part of the ongoing image bloat reduction work (see also #17, #18).