mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-04 12:10:16 +03:00
Add mounts when syncing uv
This commit is contained in:
parent
53748eb05a
commit
d19f22967f
|
@ -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" %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user