|  |  |  |  |  |  | 
													
												
													
														|  |  | # Copy models downloaded via download_deps.py |  |  | # Copy models downloaded via download_deps.py | 
													
												
													
														|  |  | RUN mkdir -p /ragflow/rag/res/deepdoc /root/.ragflow |  |  | RUN mkdir -p /ragflow/rag/res/deepdoc /root/.ragflow | 
													
												
													
														|  |  | RUN --mount=type=bind,from=infiniflow/ragflow_deps:latest,source=/huggingface.co,target=/huggingface.co \ |  |  | RUN --mount=type=bind,from=infiniflow/ragflow_deps:latest,source=/huggingface.co,target=/huggingface.co \ | 
													
												
													
														|  |  |  |  |  | cp /huggingface.co/InfiniFlow/huqie/huqie.txt.trie /ragflow/rag/res/ && \ | 
													
												
													
														|  |  | tar --exclude='.*' -cf - \ |  |  | tar --exclude='.*' -cf - \ | 
													
												
													
														|  |  | /huggingface.co/InfiniFlow/text_concat_xgb_v1.0 \ |  |  | /huggingface.co/InfiniFlow/text_concat_xgb_v1.0 \ | 
													
												
													
														|  |  | /huggingface.co/InfiniFlow/deepdoc \ |  |  | /huggingface.co/InfiniFlow/deepdoc \ | 
													
												
													
														|  |  | | tar -xf - --strip-components=3 -C /ragflow/rag/res/deepdoc |  |  |  | 
													
												
													
														|  |  |  |  |  | | tar -xf - --strip-components=3 -C /ragflow/rag/res/deepdoc | 
													
												
													
														|  |  | RUN --mount=type=bind,from=infiniflow/ragflow_deps:latest,source=/huggingface.co,target=/huggingface.co \ |  |  | RUN --mount=type=bind,from=infiniflow/ragflow_deps:latest,source=/huggingface.co,target=/huggingface.co \ | 
													
												
													
														|  |  | if [ "$LIGHTEN" != "1" ]; then \ |  |  | if [ "$LIGHTEN" != "1" ]; then \ | 
													
												
													
														|  |  | (tar -cf - \ |  |  | (tar -cf - \ |