diff --git a/Dockerfile b/Dockerfile index d5c40f15e9..88ffd09752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -135,6 +135,9 @@ RUN apt-get update && \ # install python dependencies COPY --chown=$UID:$GID ./backend/requirements.txt ./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; \ if [ "$USE_CUDA" = "true" ]; then \