fix: set UV_LINK_MODE=copy in Dockerfile for overlayfs compatibility
Deploy Research Workbench / deploy (push) Failing after 14m14s

uv's reflink-based file cloning fails with EAGAIN inside Docker's
overlayfs. Setting UV_LINK_MODE=copy forces regular file copies.

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
This commit is contained in:
Ken
2026-05-26 23:07:40 +00:00
parent d17b79ad95
commit c6d8d4dfe6
+3
View File
@@ -33,6 +33,9 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
# Install uv via pip # Install uv via pip
RUN pip install uv RUN pip install uv
# Disable reflinks — overlayfs doesn't support them (EAGAIN inside Docker builds)
ENV UV_LINK_MODE=copy
# Copy backend dependency files and install Python dependencies # Copy backend dependency files and install Python dependencies
COPY backend/pyproject.toml backend/uv.lock /app/backend/ COPY backend/pyproject.toml backend/uv.lock /app/backend/
WORKDIR /app/backend WORKDIR /app/backend