Skip to content

Commit fa1b873

Browse files
authored
feat: Delete http_api_reference.md from api folder infiniflow#1102 (infiniflow#3121)
### What problem does this PR solve? feat: Delete http_api_reference.md from api folder infiniflow#1102 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
1 parent 578f708 commit fa1b873

File tree

5 files changed

+6
-2113
lines changed

5 files changed

+6
-2113
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN --mount=type=cache,id=ragflow_builder_apt,target=/var/cache/apt,sharing=lock
4848
rm -rf /var/lib/apt/lists/*
4949

5050
COPY web web
51-
COPY api api
51+
COPY docs docs
5252
RUN --mount=type=cache,id=ragflow_builder_npm,target=/root/.npm,sharing=locked \
5353
cd web && npm i --force && npm run build
5454

Dockerfile.scratch.oc9

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ RUN dnf install -y nginx
2626

2727
ADD ./web ./web
2828
ADD ./api ./api
29+
ADD ./docs ./docs
2930
ADD ./conf ./conf
3031
ADD ./deepdoc ./deepdoc
3132
ADD ./rag ./rag
@@ -37,7 +38,7 @@ RUN dnf install -y openmpi openmpi-devel python3-openmpi
3738
ENV C_INCLUDE_PATH /usr/include/openmpi-x86_64:$C_INCLUDE_PATH
3839
ENV LD_LIBRARY_PATH /usr/lib64/openmpi/lib:$LD_LIBRARY_PATH
3940
RUN rm /root/miniconda3/envs/py11/compiler_compat/ld
40-
RUN cd ./web && npm i --force && npm run build
41+
RUN cd ./web && npm i && npm run build
4142
RUN conda run -n py11 pip install $(grep -ivE "mpi4py" ./requirements.txt) # without mpi4py==3.1.5
4243
RUN conda run -n py11 pip install redis
4344

Dockerfile.slim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ RUN --mount=type=cache,id=ragflow_builder_apt,target=/var/cache/apt,sharing=lock
4747
rm -rf /var/lib/apt/lists/*
4848

4949
COPY web web
50-
COPY api api
50+
COPY docs docs
5151
RUN --mount=type=cache,id=ragflow_builder_npm,target=/root/.npm,sharing=locked \
52-
cd web && npm i --force && npm run build
52+
cd web && npm i && npm run build
5353

5454
# install dependencies from poetry.lock file
5555
COPY pyproject.toml poetry.toml poetry.lock ./

0 commit comments

Comments
 (0)