remove onnx copy command from dockerfile (#2584)

### What problem does this PR solve?

#2564

### Type of change

- [x] Refactoring
This commit is contained in:
Kevin Hu
2024-09-25 17:14:59 +08:00
committed by GitHub
parent 8ede1c7bf5
commit ef89e3ebea
2 changed files with 249 additions and 274 deletions

View File

@@ -78,7 +78,7 @@ ENV PATH="${VIRTUAL_ENV}/bin:/root/.local/bin:${PATH}"
RUN python3 -m nltk.downloader wordnet punkt punkt_tab
# Copy models downloaded via download_deps.sh
COPY det.onnx layout.laws.onnx layout.manual.onnx layout.onnx layout.paper.onnx ocr.res rec.onnx tsr.onnx updown_concat_xgb.model /ragflow/rag/res/deepdoc/
# COPY det.onnx layout.laws.onnx layout.manual.onnx layout.onnx layout.paper.onnx ocr.res rec.onnx tsr.onnx updown_concat_xgb.model /ragflow/rag/res/deepdoc/
ENV PYTHONPATH=/ragflow/