Dockerfile•900 B
FROM debian:bookworm-slim
ENV DEBIAN_FRONTEND=noninteractive \
GLAMA_VERSION="1.0.0"
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git && curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y --no-install-recommends nodejs && npm install -g mcp-proxy@5.5.4 pnpm@10.14.0 && node --version && curl -LsSf https://astral.sh/uv/install.sh | UV_INSTALL_DIR="/usr/local/bin" sh && uv python install 3.12 --default --preview && ln -s $(uv python find) /usr/local/bin/python && python --version && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /app
RUN git clone https://github.com/IvanRublev/keyphrases-mcp . && git checkout lastest
RUN (uv sync) && (uv run keyphrases-mcp-server --download-embeddings) && (mkdir -p /app/documents)
CMD ["mcp-proxy","uv","run","keyphrases-mcp-server","-a","/app/documents"]