From 80aa818684e41abbd119006592795d1f4f47c05b Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Wed, 18 Mar 2026 16:44:13 -0700 Subject: [PATCH] fix: prevent dev dependency downloads at runtime Add --no-dev to the uv run ENTRYPOINT so that dev dependencies (black, mypy, pylint, etc.) are not re-downloaded on every action invocation. The build step already uses --no-dev during uv sync, but uv run was resolving the full dependency graph at runtime. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bd2b044..fef0539 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,4 +29,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \ ENV PYTHONUNBUFFERED=1 CMD ["/action/workspace/issue_metrics.py"] -ENTRYPOINT ["uv", "run", "--project", "/action/workspace"] +ENTRYPOINT ["uv", "run", "--no-dev", "--project", "/action/workspace"]