File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ USER root
44WORKDIR /ragflow
55
66ADD ./web ./web
7- RUN cd ./web && npm i && npm run build
7+ RUN cd ./web && npm i --force && npm run build
88
99ADD ./api ./api
1010ADD ./conf ./conf
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN /root/miniconda3/envs/py11/bin/pip install onnxruntime-gpu --extra-index-url
99
1010
1111ADD ./web ./web
12- RUN cd ./web && npm i && npm run build
12+ RUN cd ./web && npm i --force && npm run build
1313
1414ADD ./api ./api
1515ADD ./conf ./conf
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ADD ./requirements.txt ./requirements.txt
3434RUN apt install openmpi-bin openmpi-common libopenmpi-dev
3535ENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu/openmpi/lib:$LD_LIBRARY_PATH
3636RUN rm /root/miniconda3/envs/py11/compiler_compat/ld
37- RUN cd ./web && npm i && npm run build
37+ RUN cd ./web && npm i --force && npm run build
3838RUN conda run -n py11 pip install -i https://mirrors.aliyun.com/pypi/simple/ -r ./requirements.txt
3939
4040RUN apt-get update && \
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN dnf install -y openmpi openmpi-devel python3-openmpi
3535ENV C_INCLUDE_PATH /usr/include/openmpi-x86_64:$C_INCLUDE_PATH
3636ENV LD_LIBRARY_PATH /usr/lib64/openmpi/lib:$LD_LIBRARY_PATH
3737RUN rm /root/miniconda3/envs/py11/compiler_compat/ld
38- RUN cd ./web && npm i && npm run build
38+ RUN cd ./web && npm i --force && npm run build
3939RUN conda run -n py11 pip install $(grep -ivE "mpi4py" ./requirements.txt) # without mpi4py==3.1.5
4040RUN conda run -n py11 pip install redis
4141
You can’t perform that action at this time.
0 commit comments