From 7df5fc0c7cf28f5910d5c46c5ef90cec47108672 Mon Sep 17 00:00:00 2001 From: Yashwant Bezawada Date: Sat, 8 Nov 2025 20:57:55 -0600 Subject: [PATCH] Fix Dockerfile to install chromadb from local wheel instead of PyPI Changes pip install to use direct wheel path (target/wheels/chromadb*.whl) instead of --find-links flag which only provides a preference hint. Previously, despite --find-links suggesting the local directory, pip could still download chromadb from PyPI. This ensures the locally-built wheel is always used during Docker image builds. Fixes #5835 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 31415cbad3a..0615ea29528 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ WORKDIR /chroma RUN make -C idl proto_python RUN python3 -m maturin build RUN pip uninstall chromadb -y -RUN pip install --prefix="/install" --find-links target/wheels/ --upgrade chromadb +RUN pip install --prefix="/install" target/wheels/chromadb*.whl FROM python:3.11-slim-bookworm AS final