Allow to write to uv.lock

This commit is contained in:
Jelmer Draaijer 2024-10-22 20:48:43 +02:00
parent b27d2954c2
commit a1db12569f

View File

@ -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}