Skip to content

Commit

Permalink
feat: Delete http_api_reference.md from api folder infiniflow#1102 (i…
Browse files Browse the repository at this point in the history
…nfiniflow#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)
  • Loading branch information
cike8899 authored Oct 31, 2024
1 parent 6ac0c9f commit 2376ba3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2,113 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN --mount=type=cache,id=ragflow_builder_apt,target=/var/cache/apt,sharing=lock
rm -rf /var/lib/apt/lists/*

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

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.scratch.oc9
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN dnf install -y nginx

ADD ./web ./web
ADD ./api ./api
ADD ./docs ./docs
ADD ./conf ./conf
ADD ./deepdoc ./deepdoc
ADD ./rag ./rag
Expand All @@ -37,7 +38,7 @@ RUN dnf install -y openmpi openmpi-devel python3-openmpi
ENV C_INCLUDE_PATH /usr/include/openmpi-x86_64:$C_INCLUDE_PATH
ENV LD_LIBRARY_PATH /usr/lib64/openmpi/lib:$LD_LIBRARY_PATH
RUN rm /root/miniconda3/envs/py11/compiler_compat/ld
RUN cd ./web && npm i --force && npm run build
RUN cd ./web && npm i && npm run build
RUN conda run -n py11 pip install $(grep -ivE "mpi4py" ./requirements.txt) # without mpi4py==3.1.5
RUN conda run -n py11 pip install redis

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ RUN --mount=type=cache,id=ragflow_builder_apt,target=/var/cache/apt,sharing=lock
rm -rf /var/lib/apt/lists/*

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

# install dependencies from poetry.lock file
COPY pyproject.toml poetry.toml poetry.lock ./
Expand Down
Loading

0 comments on commit 2376ba3

Please sign in to comment.