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
Fix Docker image building failure on MacOS (ARM architecture) (#1177)
Zhedong Cen747e69ef6874
diff --git a/Dockerfile b/Dockerfileindex 1fa29ad91b..2da41e2873 100644--- a/Dockerfile+++ b/Dockerfile@@ -10,6 +10,7 @@ ADD ./api ./apiADD ./conf ./confADD ./deepdoc ./deepdocADD ./rag ./rag+ADD ./graph ./graphENV PYTHONPATH=/ragflow/ENV HF_ENDPOINT=https://hf-mirror.comdiff --git a/Dockerfile.arm b/Dockerfile.armindex a157c030c3..b64401e187 100644--- a/Dockerfile.arm+++ b/Dockerfile.arm@@ -12,7 +12,7 @@ RUN apt-get update && \rm -rf /var/lib/apt/lists/*RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - && \- apt-get install -y nodejs nginx ffmpeg libsm6 libxext6 libgl1+ apt-get install -y --fix-missing nodejs nginx ffmpeg libsm6 libxext6 libgl1ADD ./web ./webRUN cd ./web && npm i --force && npm run build@@ -21,6 +21,7 @@ ADD ./api ./apiADD ./conf ./confADD ./deepdoc ./deepdocADD ./rag ./rag+ADD ./graph ./graphENV PYTHONPATH=/ragflow/ENV HF_ENDPOINT=https://hf-mirror.comdiff --git a/Dockerfile.scratch b/Dockerfile.scratchindex eb0594087b..a607b63bc1 100644--- a/Dockerfile.scratch+++ b/Dockerfile.scratch@@ -30,6 +30,7 @@ ADD ./conf ./confADD ./deepdoc ./deepdocADD ./rag ./ragADD ./requirements.txt ./requirements.txt+ADD ./graph ./graphRUN apt install openmpi-bin openmpi-common libopenmpi-devENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu/openmpi/lib:$LD_LIBRARY_PATHdiff --git a/Dockerfile.scratch.oc9 b/Dockerfile.scratch.oc9index 414ccddf32..9053343866 100644--- a/Dockerfile.scratch.oc9+++ b/Dockerfile.scratch.oc9@@ -30,6 +30,7 @@ ADD ./conf ./confADD ./deepdoc ./deepdocADD ./rag ./ragADD ./requirements.txt ./requirements.txt+ADD ./graph ./graphRUN dnf install -y openmpi openmpi-devel python3-openmpiENV C_INCLUDE_PATH /usr/include/openmpi-x86_64:$C_INCLUDE_PATHdiff --git a/requirements_arm.txt b/requirements_arm.txtindex c52c08cd10..4cb4d83e86 100644--- a/requirements_arm.txt+++ b/requirements_arm.txt@@ -85,9 +85,9 @@ pyarrow==15.0.0pyarrow-hotfix==0.6pyclipper==1.3.0.post5pycparser==2.21-pycryptodome==3.20.0-pycryptodome-test-vectors==1.0.14-pycryptodomex==3.20.0+pycryptodome+pycryptodome-test-vectors+pycryptodomexpydantic==2.6.2pydantic_core==2.16.3PyJWT==2.8.0@@ -98,7 +98,6 @@ python-dateutil==2.8.2python-docx==1.1.0python-dotenv==1.0.1python-pptx==0.6.23-pytz==2024.1PyYAML==6.0.1redis==5.0.3regex==2023.12.25@@ -140,6 +139,8 @@ volcengine==1.0.141opencv-python-headless==4.9.0.80readability-lxml==0.8.1html_text==0.6.2+selenium==4.21.0+webdriver-manager==4.0.1cn2an==0.5.22roman-numbers==1.0.2word2number==1.1\ No newline at end of file