feat: include light rag build in Docker (#475) #none

* feat: update docker build for lightrag

* feat: update docker build

* feat: update docker build
This commit is contained in:
Tuan Anh Nguyen Dang (Tadashi_Cin)
2024-11-07 21:07:16 +07:00
committed by GitHub
parent aeace96c48
commit 42a5cbd21e
2 changed files with 26 additions and 17 deletions

View File

@@ -81,6 +81,12 @@ RUN --mount=type=ssh \
pip install -e "libs/kotaemon[adv]" \
&& pip install unstructured[all-docs]
# Install lightRAG
ENV USE_LIGHTRAG=true
RUN --mount=type=ssh \
--mount=type=cache,target=/root/.cache/pip \
pip install aioboto3 nano-vectordb ollama xxhash lightrag-hku
# Clean up
RUN apt-get autoremove \
&& apt-get clean \