🐋 feat: Add python to Dockerfile for increased MCP compatibility (#7270)

Without this, it's not possible to run any MCPs that use python, only node.

So, add these to enable using things that use `uvx` similar to what
the documentation already talks about for `npx`.
This commit is contained in:
Josh Nichols 2025-05-08 12:32:12 -04:00 committed by GitHub
parent 66093b1eb3
commit 4f2ed46450
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,7 @@ FROM node:20-alpine AS node
# Install jemalloc # Install jemalloc
RUN apk add --no-cache jemalloc RUN apk add --no-cache jemalloc
RUN apk add --no-cache python3 py3-pip uv
# Set environment variable to use jemalloc # Set environment variable to use jemalloc
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2 ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2