Add mounts when syncing uv

This commit is contained in:
jelmert 2025-04-15 09:29:35 +02:00 committed by Jelmer Draaijer
parent 53748eb05a
commit d19f22967f

View File

@ -29,6 +29,8 @@ RUN --mount=type=cache,target=/root/.cache/uv \
COPY . ${APP_HOME}
RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
--mount=type=bind,source=uv.lock,target=uv.lock:rw \
uv sync
{% if cookiecutter.use_docker == "y" %}