Skip to content

Commit

Permalink
Removed build_docker_image.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhichang committed Nov 22, 2024
1 parent e042d67 commit 107e400
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 60 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
RUNNER_WORKSPACE_PREFIX=${RUNNER_WORKSPACE_PREFIX:-$HOME}
cp -r ${RUNNER_WORKSPACE_PREFIX}/huggingface.co ${RUNNER_WORKSPACE_PREFIX}/nltk_data ${RUNNER_WORKSPACE_PREFIX}/libssl*.deb ${RUNNER_WORKSPACE_PREFIX}/tika-server*.jar* .
sudo docker pull ubuntu:24.04
sudo ./build_docker_image.sh slim
sudo docker build -f Dockerfile -t infiniflow/ragflow:dev-slim .
- name: Build ragflow:dev
run: |
sudo ./build_docker_image.sh full
sudo docker build -f Dockerfile -t infiniflow/ragflow:dev .
- name: Start ragflow:dev-slim
run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh slim
docker build -f Dockerfile.slim -t infiniflow/ragflow:dev-slim .
```
## 🔧 Build a Docker image including embedding models
Expand All @@ -286,7 +286,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh full
docker build -f Dockerfile -t infiniflow/ragflow:dev .
```
## 🔨 Launch service from source for development
Expand Down
4 changes: 2 additions & 2 deletions README_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh slim
docker build -f Dockerfile.slim -t infiniflow/ragflow:dev-slim .
```
## 🔧 Membangun Docker Image Termasuk Model Embedding
Expand All @@ -261,7 +261,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh full
docker build -f Dockerfile -t infiniflow/ragflow:dev .
```
## 🔨 Menjalankan Aplikasi dari untuk Pengembangan
Expand Down
4 changes: 2 additions & 2 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh slim
docker build -f Dockerfile.slim -t infiniflow/ragflow:dev-slim .
```
## 🔧 ソースコードをコンパイルしたDockerイメージ(埋め込みモデルを含む)
Expand All @@ -242,7 +242,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh full
docker build -f Dockerfile -t infiniflow/ragflow:dev .
```
## 🔨 ソースコードからサービスを起動する方法
Expand Down
4 changes: 2 additions & 2 deletions README_ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh slim
docker build -f Dockerfile.slim -t infiniflow/ragflow:dev-slim .
```
## 🔧 소스 코드로 Docker 이미지를 컴파일합니다(임베딩 모델 포함)
Expand All @@ -244,7 +244,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh full
docker build -f Dockerfile -t infiniflow/ragflow:dev .
```
## 🔨 소스 코드로 서비스를 시작합니다.
Expand Down
4 changes: 2 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh slim
docker build -f Dockerfile.slim -t infiniflow/ragflow:dev-slim .
```
## 🔧 源码编译 Docker 镜像(包含 embedding 模型)
Expand All @@ -249,7 +249,7 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
bash build_docker_image.sh full
docker build -f Dockerfile -t infiniflow/ragflow:dev .
```
## 🔨 以源代码启动服务
Expand Down
46 changes: 0 additions & 46 deletions build_docker_image.sh

This file was deleted.

4 changes: 2 additions & 2 deletions docs/guides/develop/build_docker_image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
pip3 install huggingface-hub nltk
python3 download_deps.py
docker build --build-arg ARCH=arm64 -f Dockerfile.slim -t infiniflow/ragflow:dev-slim .
docker build --build-arg ARCH=arm64 -f Dockerfile -t infiniflow/ragflow:dev .
docker build -f Dockerfile.slim -t infiniflow/ragflow:dev-slim .
docker build -f Dockerfile -t infiniflow/ragflow:dev .
```
</TabItem>

Expand Down

0 comments on commit 107e400

Please sign in to comment.