From f8c9ec4d56c62f0e577c6f1e247e625f414122b4 Mon Sep 17 00:00:00 2001 From: Zhichang Yu Date: Wed, 18 Dec 2024 11:51:03 +0800 Subject: [PATCH] Fix arm doc (#4080) ### What problem does this PR solve? Fix arm doc ### Type of change - [x] Documentation Update --- docs/guides/develop/build_docker_image.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/guides/develop/build_docker_image.mdx b/docs/guides/develop/build_docker_image.mdx index a653ca91f..48c60bdfa 100644 --- a/docs/guides/develop/build_docker_image.mdx +++ b/docs/guides/develop/build_docker_image.mdx @@ -50,13 +50,17 @@ docker build --build-arg LIGHTEN=1 -f Dockerfile -t infiniflow/ragflow:nightly-s This image is approximately 9 GB in size. As it includes embedding models, it relies on external LLM services only. :::tip NOTE -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 as well. +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. ::: ```bash git clone https://github.com/infiniflow/ragflow.git cd ragflow/ +pip3 install huggingface_hub nltk +python3 download_deps.py +docker build -f Dockerfile.deps -t infiniflow/ragflow_deps . docker build -f Dockerfile -t infiniflow/ragflow:nightly . +docker build --build-arg LIGHTEN=1 -f Dockerfile -t infiniflow/ragflow:nightly-slim . ```