From a1db12569f986898b01b8c4d37fe7a801e478f9e Mon Sep 17 00:00:00 2001 From: Jelmer Draaijer Date: Tue, 22 Oct 2024 20:48:43 +0200 Subject: [PATCH] Allow to write to uv.lock --- {{cookiecutter.project_slug}}/compose/local/django/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/compose/local/django/Dockerfile b/{{cookiecutter.project_slug}}/compose/local/django/Dockerfile index 19b13c8b2..b93c4d664 100644 --- a/{{cookiecutter.project_slug}}/compose/local/django/Dockerfile +++ b/{{cookiecutter.project_slug}}/compose/local/django/Dockerfile @@ -18,7 +18,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ # Requirements are installed here to ensure they will be cached. 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 \ + --mount=type=bind,source=uv.lock,target=uv.lock:rw \ uv sync --no-install-project ADD . ${APP_HOME}