diff --git a/Dockerfile b/Dockerfile index 75df15492..47ef161e4 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