mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-15 00:15:57 +08:00
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
This commit is contained in:
parent
70c6b5a7f9
commit
a1ffc7fa2c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user