Skip to content

Commit ffe19e9

Browse files
committed
Improve uv caching in Dockerfile
1 parent 5ce5591 commit ffe19e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ RUN --mount=type=cache,target=/root/.cache/uv \
5353
--link-mode copy \
5454
--no-install-project \
5555
--all-extras \
56-
--compile-bytecode
56+
--compile-bytecode \
57+
&& uv pip install pip \
58+
&& uv cache prune --ci
5759

5860
FROM base AS prod
5961

0 commit comments

Comments
 (0)