From 65dfff3feed41b8dbc24bed30f7907c9c66e6772 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Thu, 9 Apr 2026 10:43:52 -0700 Subject: [PATCH] fix: suppress uv hardlink warning with UV_LINK_MODE=copy When running as a GitHub Action, the uv cache and target .venv directory end up on different filesystems (container overlay vs host mount), causing uv to emit a noisy warning on every run. Setting UV_LINK_MODE=copy tells uv to use copy mode directly, suppressing the warning. Signed-off-by: Zack Koppert Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 16c4950..f7d39e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,7 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \ CMD python3 -c "import os,sys; sys.exit(0 if os.path.exists('/action/workspace/contributors.py') else 1)" ENV PYTHONUNBUFFERED=1 +ENV UV_LINK_MODE=copy CMD ["/action/workspace/contributors.py"] ENTRYPOINT ["uv", "run", "--no-dev", "--project", "/action/workspace"]