diff --git a/Dockerfile b/Dockerfile index 8e59055a4e..15bf0f07f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -144,8 +144,8 @@ COPY --chown=$UID:$GID ./backend/requirements*.txt ./ # Set UV_LINK_MODE to copy to prevent 0-byte file corruption in QEMU arm64 cross-builds ENV UV_LINK_MODE=copy -RUN set -e; \ - pip3 install --no-cache-dir uv; \ +RUN --mount=from=ghcr.io/astral-sh/uv:0.12.10,source=/uv,target=/bin/uv \ + set -e; \ if [ "$USE_SLIM" = "true" ]; then \ uv pip install --system -r requirements-slim.txt --no-cache-dir; \ pip3 uninstall -y uv; \