RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
update docker file to support low version npm package (#669)
KevinHuShd15ba3731353
diff --git a/Dockerfile b/Dockerfileindex c981509106..7ee1471cd8 100644--- a/Dockerfile+++ b/Dockerfile@@ -4,7 +4,7 @@ USER rootWORKDIR /ragflowADD ./web ./web-RUN cd ./web && npm i && npm run build+RUN cd ./web && npm i --force && npm run buildADD ./api ./apiADD ./conf ./confdiff --git a/Dockerfile.cuda b/Dockerfile.cudaindex 2bed3fb61e..e8c48a3a46 100644--- a/Dockerfile.cuda+++ b/Dockerfile.cuda@@ -9,7 +9,7 @@ RUN /root/miniconda3/envs/py11/bin/pip install onnxruntime-gpu --extra-index-urlADD ./web ./web-RUN cd ./web && npm i && npm run build+RUN cd ./web && npm i --force && npm run buildADD ./api ./apiADD ./conf ./confdiff --git a/Dockerfile.scratch b/Dockerfile.scratchindex 3e9483eb72..eb0594087b 100644--- a/Dockerfile.scratch+++ b/Dockerfile.scratch@@ -34,7 +34,7 @@ ADD ./requirements.txt ./requirements.txtRUN apt install openmpi-bin openmpi-common libopenmpi-devENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu/openmpi/lib:$LD_LIBRARY_PATHRUN rm /root/miniconda3/envs/py11/compiler_compat/ld-RUN cd ./web && npm i && npm run build+RUN cd ./web && npm i --force && npm run buildRUN conda run -n py11 pip install -i https://mirrors.aliyun.com/pypi/simple/ -r ./requirements.txtRUN apt-get update && \diff --git a/Dockerfile.scratch.oc9 b/Dockerfile.scratch.oc9index ffb2272bdd..414ccddf32 100644--- a/Dockerfile.scratch.oc9+++ b/Dockerfile.scratch.oc9@@ -35,7 +35,7 @@ RUN dnf install -y openmpi openmpi-devel python3-openmpiENV C_INCLUDE_PATH /usr/include/openmpi-x86_64:$C_INCLUDE_PATHENV LD_LIBRARY_PATH /usr/lib64/openmpi/lib:$LD_LIBRARY_PATHRUN rm /root/miniconda3/envs/py11/compiler_compat/ld-RUN cd ./web && npm i && npm run build+RUN cd ./web && npm i --force && npm run buildRUN conda run -n py11 pip install $(grep -ivE "mpi4py" ./requirements.txt) # without mpi4py==3.1.5RUN conda run -n py11 pip install redis