From 540a83ea1c8f41f5acf8513c13e494da0f52f845 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sun, 24 Aug 2025 01:07:23 +0800 Subject: [PATCH] Add --use-pep517 flag to all pip install commands in Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd122cf2..e25b4f99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,8 @@ COPY lightrag/ ./lightrag/ # Install dependencies ENV PATH="/root/.cargo/bin:${PATH}" -RUN pip install --user --no-cache-dir . -RUN pip install --user --no-cache-dir .[api] +RUN pip install --user --no-cache-dir --use-pep517 . +RUN pip install --user --no-cache-dir --use-pep517 .[api] # Install depndencies for default storage RUN pip install --user --no-cache-dir nano-vectordb networkx @@ -45,7 +45,7 @@ COPY --from=builder /root/.local /root/.local COPY ./lightrag ./lightrag COPY setup.py . -RUN pip install ".[api]" +RUN pip install --use-pep517 ".[api]" # Make sure scripts in .local are usable ENV PATH=/root/.local/bin:$PATH