Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Update the Dockerfile.cuda (#1545)

Wang Wenhui00943dc04a84
diff --git a/Dockerfile.cuda b/Dockerfile.cuda
index 269554b37b..81a444d7c6 100644
--- a/Dockerfile.cuda
+++ b/Dockerfile.cuda
@@ -4,8 +4,8 @@ USER root
WORKDIR /ragflow
## for cuda > 12.0
-RUN /root/miniconda3/envs/py11/bin/pip uninstall -y onnxruntime-gpu
-RUN /root/miniconda3/envs/py11/bin/pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
+RUN pip uninstall -y onnxruntime-gpu
+RUN pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
ADD ./web ./web
@@ -15,6 +15,7 @@ ADD ./api ./api
ADD ./conf ./conf
ADD ./deepdoc ./deepdoc
ADD ./rag ./rag
+ADD ./graph ./graph
ENV PYTHONPATH=/ragflow/
ENV HF_ENDPOINT=https://hf-mirror.com