Fix Docker image building failure on MacOS (ARM architecture) (#1177)

### What problem does this PR solve?

#1164 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Zhedong Cen
2024-06-17 10:46:21 +08:00
committed by GitHub
parent c68767acdd
commit 747e69ef68
5 changed files with 10 additions and 5 deletions

View File

@ -30,6 +30,7 @@ ADD ./conf ./conf
ADD ./deepdoc ./deepdoc
ADD ./rag ./rag
ADD ./requirements.txt ./requirements.txt
ADD ./graph ./graph
RUN dnf install -y openmpi openmpi-devel python3-openmpi
ENV C_INCLUDE_PATH /usr/include/openmpi-x86_64:$C_INCLUDE_PATH