Skip to content

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

fix tika-server issue (#3439)

Kevin Huac033b62cf19
diff --git a/Dockerfile b/Dockerfile
index a6c69800f1..41465c69d7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -116,7 +116,8 @@ COPY nltk_data /root/nltk_data
# https://github.com/chrismattmann/tika-python
# This is the only way to run python-tika without internet access. Without this set, the default is to check the tika version and pull latest every time from Apache.
-COPY tika-server-standard-3.0.0.jar tika-server-standard-3.0.0.jar.md5 ./
+COPY tika-server-standard-3.0.0.jar /ragflow/tika-server-standard.jar
+COPY tika-server-standard-3.0.0.jar.md5 /ragflow/tika-server-standard.jar.md5
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
# Copy cl100k_base
diff --git a/Dockerfile.slim b/Dockerfile.slim
index c3059cb231..2c1dfbf975 100644
--- a/Dockerfile.slim
+++ b/Dockerfile.slim
@@ -109,7 +109,9 @@ COPY nltk_data /root/nltk_data
# https://github.com/chrismattmann/tika-python
# This is the only way to run python-tika without internet access. Without this set, the default is to check the tika version and pull latest every time from Apache.
-COPY tika-server-standard-3.0.0.jar tika-server-standard-3.0.0.jar.md5 ./
+
+COPY tika-server-standard-3.0.0.jar /ragflow/tika-server-standard.jar
+COPY tika-server-standard-3.0.0.jar.md5 /ragflow/tika-server-standard.jar.md5
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
# Copy cl100k_base