Skip to content

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

Fix poetry cache (#2709)

Zhichang Yua1ffc7fa2c90
diff --git a/Dockerfile b/Dockerfile
index a064e01e60..235473f75e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -56,9 +56,9 @@ COPY pyproject.toml poetry.toml poetry.lock ./
RUN --mount=type=cache,id=ragflow_builder_poetry,target=/root/.cache/pypoetry,sharing=locked \
if [ "$LIGHTEN" -eq 0 ]; then \
- poetry install --sync --no-cache --no-root --with=full; \
+ poetry install --sync --no-root --with=full; \
else \
- poetry install --sync --no-cache --no-root; \
+ poetry install --sync --no-root; \
fi
# production stage
diff --git a/Dockerfile.slim b/Dockerfile.slim
index a1015045ee..6a656d5d48 100644
--- a/Dockerfile.slim
+++ b/Dockerfile.slim
@@ -56,9 +56,9 @@ COPY pyproject.toml poetry.toml poetry.lock ./
RUN --mount=type=cache,id=ragflow_builder_poetry,target=/root/.cache/pypoetry,sharing=locked \
if [ "$LIGHTEN" -eq 0 ]; then \
- poetry install --sync --no-cache --no-root --with=full; \
+ poetry install --sync --no-root --with=full; \
else \
- poetry install --sync --no-cache --no-root; \
+ poetry install --sync --no-root; \
fi
# production stage