RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
revert error in Dockerfile (#2581)
Kevin Huc262011393db
diff --git a/Dockerfile.scratch b/Dockerfile.scratchindex 538efb60bd..3303ee7277 100644--- a/Dockerfile.scratch+++ b/Dockerfile.scratch@@ -33,7 +33,7 @@ USER rootWORKDIR /ragflowRUN --mount=type=cache,target=/var/cache/apt,sharing=locked \- apt update && apt install -y nodejs npm && \+ apt update && apt install -y nodejs npm cargo && \rm -rf /var/lib/apt/lists/*COPY web web@@ -41,8 +41,7 @@ RUN cd web && npm i --force && npm run build# install dependencies from poetry.lock fileCOPY pyproject.toml poetry.toml poetry.lock ./-RUN --mount=type=cache,target=/root/.cache/pypoetry,sharing=locked \- /root/.local/bin/poetry lock+RUN --mount=type=cache,target=/root/.cache/pypoetry,sharing=lockedRUN --mount=type=cache,target=/root/.cache/pypoetry,sharing=locked \/root/.local/bin/poetry install --sync --no-cache --no-root@@ -79,6 +78,8 @@ ENV PATH="${VIRTUAL_ENV}/bin:/root/.local/bin:${PATH}"# Download nltk dataRUN 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/ENV PYTHONPATH=/ragflow/