Skip to content

Commit 80aa818

Browse files
zkoppertCopilot
andcommitted
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 <[email protected]>
1 parent e26b4f3 commit 80aa818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
2929

3030
ENV PYTHONUNBUFFERED=1
3131
CMD ["/action/workspace/issue_metrics.py"]
32-
ENTRYPOINT ["uv", "run", "--project", "/action/workspace"]
32+
ENTRYPOINT ["uv", "run", "--no-dev", "--project", "/action/workspace"]

0 commit comments

Comments
 (0)