Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: Ensure pip is available in venv for runtime installation (#12667)

E.G3188cd26592c
diff --git a/Dockerfile b/Dockerfile
index 75df154923..47ef161e46 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -154,7 +154,9 @@ RUN --mount=type=cache,id=ragflow_uv,target=/root/.cache/uv,sharing=locked \
else \
sed -i 's|pypi.tuna.tsinghua.edu.cn|pypi.org|g' uv.lock; \
fi; \
- uv sync --python 3.12 --frozen
+ uv sync --python 3.12 --frozen && \
+ # Ensure pip is available in the venv for runtime package installation (fixes #12651)
+ .venv/bin/python3 -m ensurepip --upgrade
COPY web web
COPY docs docs