fix: set UV_LINK_MODE=copy in Dockerfile for overlayfs compatibility
Deploy Research Workbench / deploy (push) Failing after 14m14s
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user