Updated Dockefile to use cache (#2703)

### What problem does this PR solve?

Updated Dockefile to use cache

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [x] Other (please describe): CI
This commit is contained in:
Zhichang Yu
2024-10-01 17:41:38 +08:00
committed by GitHub
parent 62202b7eff
commit 5f4d2dc4fe
9 changed files with 60 additions and 41 deletions

View File

@ -64,7 +64,7 @@ This image is approximately 1 GB in size and relies on external LLM services, as
On a `linux/amd64` host:
```bash
pip3 install huggingface-hub
pip3 install huggingface-hub nltk
python3 download_deps.py
docker build -f Dockerfile -t infiniflow/ragflow:dev-amd64 .
docker push infiniflow/ragflow:dev-amd64
@ -72,7 +72,7 @@ docker push infiniflow/ragflow:dev-amd64
On a `linux/arm64` host:
```bash
pip3 install huggingface-hub
pip3 install huggingface-hub nltk
python3 download_deps.py
docker build -f Dockerfile -t infiniflow/ragflow:dev-arm64 .
docker push infiniflow/ragflow:dev-arm64