15 lines
373 B
Text
15 lines
373 B
Text
|
|
FROM node:22-slim
|
||
|
|
|
||
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||
|
|
python3 python3-pip python3-venv \
|
||
|
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
|
||
|
|
RUN pip3 install --no-cache-dir portainer-mcp && \
|
||
|
|
npm install -g mcp-proxy@6.5.2
|
||
|
|
|
||
|
|
ENV PORTAINER_VERIFY_SSL=false
|
||
|
|
|
||
|
|
EXPOSE 8110
|
||
|
|
|
||
|
|
CMD ["mcp-proxy", "--port", "8110", "--host", "0.0.0.0", "--", "portainer-mcp"]
|