Fix wheel install conflict, use python -m build instead of pip build

This commit is contained in:
2026-04-03 08:52:43 +00:00
parent ce55e45db2
commit 4e8a765c72
2 changed files with 6 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ ENV LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
FROM base AS build-base
# Install build tools and dependencies
RUN pip install -U build cmake ninja pybind11 "setuptools>=77.0.3,<81.0.0" wheel
RUN pip install -U build cmake ninja pybind11 "setuptools>=77.0.3,<81.0.0"
# Clone the repo, apply the patch, and build
RUN git clone https://github.com/LMCache/LMCache.git && \