Kevin Hu
commited on
Commit
·
fc803e8
1
Parent(s):
11daec5
fix tika-server issue (#3439)
Browse files### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- Dockerfile +2 -1
- Dockerfile.slim +3 -1
Dockerfile
CHANGED
|
@@ -116,7 +116,8 @@ COPY nltk_data /root/nltk_data
|
|
| 116 |
|
| 117 |
# https://github.com/chrismattmann/tika-python
|
| 118 |
# 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.
|
| 119 |
-
COPY tika-server-standard-3.0.0.jar tika-server-standard
|
|
|
|
| 120 |
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
|
| 121 |
|
| 122 |
# Copy cl100k_base
|
|
|
|
| 116 |
|
| 117 |
# https://github.com/chrismattmann/tika-python
|
| 118 |
# 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.
|
| 119 |
+
COPY tika-server-standard-3.0.0.jar /ragflow/tika-server-standard.jar
|
| 120 |
+
COPY tika-server-standard-3.0.0.jar.md5 /ragflow/tika-server-standard.jar.md5
|
| 121 |
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
|
| 122 |
|
| 123 |
# Copy cl100k_base
|
Dockerfile.slim
CHANGED
|
@@ -109,7 +109,9 @@ COPY nltk_data /root/nltk_data
|
|
| 109 |
|
| 110 |
# https://github.com/chrismattmann/tika-python
|
| 111 |
# 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.
|
| 112 |
-
|
|
|
|
|
|
|
| 113 |
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
|
| 114 |
|
| 115 |
# Copy cl100k_base
|
|
|
|
| 109 |
|
| 110 |
# https://github.com/chrismattmann/tika-python
|
| 111 |
# 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.
|
| 112 |
+
|
| 113 |
+
COPY tika-server-standard-3.0.0.jar /ragflow/tika-server-standard.jar
|
| 114 |
+
COPY tika-server-standard-3.0.0.jar.md5 /ragflow/tika-server-standard.jar.md5
|
| 115 |
ENV TIKA_SERVER_JAR="file:///ragflow/tika-server-standard.jar"
|
| 116 |
|
| 117 |
# Copy cl100k_base
|