From a1ffc7fa2c90d9bffa5748faea9c11569d8fd18a Mon Sep 17 00:00:00 2001 From: Zhichang Yu Date: Wed, 2 Oct 2024 21:15:30 +0800 Subject: [PATCH] Fix poetry cache (#2709) ### What problem does this PR solve? Fix poetry cache ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [x] Other (please describe): CI --- Dockerfile | 4 ++-- Dockerfile.slim | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a064e01e6..235473f75 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 a1015045e..6a656d5d4 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