Skip to content

[Bug]: Dockerfile for building chroma installs chromadb from pip instead of the build #5835

@rafal-prasal

Description

@rafal-prasal

What happened?

Hello

i found it in chroma-core/chroma 1.0.15, however this issue is still there.

in file

RUN pip install --prefix="/install" --find-links target/wheels/ --upgrade chromadb

I believe the intention was to install chromadb from target/wheels, where things are build
however as --find-links is just a suggestion for pip packages location, therefore it was always installing the latest chromadb from pip repository.

the fix is quite easy
pip install --prefix="/install" target/wheels/chromadb*.whl

Thank you in advance

Versions

1.0.15+

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions