Fix arm doc (#4080)
Browse files### What problem does this PR solve?
Fix arm doc
### Type of change
- [x] Documentation Update
docs/guides/develop/build_docker_image.mdx
CHANGED
|
@@ -50,13 +50,17 @@ docker build --build-arg LIGHTEN=1 -f Dockerfile -t infiniflow/ragflow:nightly-s
|
|
| 50 |
This image is approximately 9 GB in size. As it includes embedding models, it relies on external LLM services only.
|
| 51 |
|
| 52 |
:::tip NOTE
|
| 53 |
-
While we also test RAGFlow on ARM64 platforms, we do not plan to maintain RAGFlow Docker images for ARM. However, you can build an image yourself on a `linux/arm64` or `darwin/arm64` host machine
|
| 54 |
:::
|
| 55 |
|
| 56 |
```bash
|
| 57 |
git clone https://github.com/infiniflow/ragflow.git
|
| 58 |
cd ragflow/
|
|
|
|
|
|
|
|
|
|
| 59 |
docker build -f Dockerfile -t infiniflow/ragflow:nightly .
|
|
|
|
| 60 |
```
|
| 61 |
|
| 62 |
</TabItem>
|
|
|
|
| 50 |
This image is approximately 9 GB in size. As it includes embedding models, it relies on external LLM services only.
|
| 51 |
|
| 52 |
:::tip NOTE
|
| 53 |
+
While we also test RAGFlow on ARM64 platforms, we do not plan to maintain RAGFlow Docker images for ARM. However, you can build an image yourself on a `linux/arm64` or `darwin/arm64` host machine.
|
| 54 |
:::
|
| 55 |
|
| 56 |
```bash
|
| 57 |
git clone https://github.com/infiniflow/ragflow.git
|
| 58 |
cd ragflow/
|
| 59 |
+
pip3 install huggingface_hub nltk
|
| 60 |
+
python3 download_deps.py
|
| 61 |
+
docker build -f Dockerfile.deps -t infiniflow/ragflow_deps .
|
| 62 |
docker build -f Dockerfile -t infiniflow/ragflow:nightly .
|
| 63 |
+
docker build --build-arg LIGHTEN=1 -f Dockerfile -t infiniflow/ragflow:nightly-slim .
|
| 64 |
```
|
| 65 |
|
| 66 |
</TabItem>
|