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
4
4
WORKDIR /ragflow
5
5
6
6
ADD ./web ./web
7
- RUN cd ./web && npm i && npm run build
7
+ RUN cd ./web && npm i --force && npm run build
8
8
9
9
ADD ./api ./api
10
10
ADD ./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
9
9
10
10
11
11
ADD ./web ./web
12
- RUN cd ./web && npm i && npm run build
12
+ RUN cd ./web && npm i --force && npm run build
13
13
14
14
ADD ./api ./api
15
15
ADD ./conf ./conf
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ADD ./requirements.txt ./requirements.txt
34
34
RUN apt install openmpi-bin openmpi-common libopenmpi-dev
35
35
ENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu/openmpi/lib:$LD_LIBRARY_PATH
36
36
RUN 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
38
38
RUN conda run -n py11 pip install -i https://mirrors.aliyun.com/pypi/simple/ -r ./requirements.txt
39
39
40
40
RUN 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
35
35
ENV C_INCLUDE_PATH /usr/include/openmpi-x86_64:$C_INCLUDE_PATH
36
36
ENV LD_LIBRARY_PATH /usr/lib64/openmpi/lib:$LD_LIBRARY_PATH
37
37
RUN 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
39
39
RUN conda run -n py11 pip install $(grep -ivE "mpi4py" ./requirements.txt) # without mpi4py==3.1.5
40
40
RUN conda run -n py11 pip install redis
41
41
You can’t perform that action at this time.
0 commit comments