fix(nextcloud): pin mcp<2 to prevent mcp 2.0.0 breakage
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
tobi 2026-08-20 14:35:27 +02:00
parent c623c8d566
commit d0b4f0fb27

View file

@ -3,6 +3,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certifi
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \ curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y --no-install-recommends nodejs && \ apt-get install -y --no-install-recommends nodejs && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir "nc-mcp-server>=0.7.0" && npm install -g mcp-proxy@6.5.2 RUN pip install --no-cache-dir "nc-mcp-server>=0.7.0" "mcp<2" && npm install -g mcp-proxy@6.5.2
EXPOSE 8107 EXPOSE 8107
CMD ["mcp-proxy", "--port", "8107", "--host", "0.0.0.0", "--", "nc-mcp-server"] CMD ["mcp-proxy", "--port", "8107", "--host", "0.0.0.0", "--", "nc-mcp-server"]