Skip to content

Commit af89c1d

Browse files
Pin uv version to 0.10.11 and merge into single RUN layer
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
1 parent 0b36d5f commit af89c1d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ RUN apt-get update \
1818
/var/tmp/*
1919

2020
COPY . /app
21-
RUN pip install uv
22-
RUN uv pip install --no-cache --system "/app[all]"
21+
ARG UV_VERSION=0.10.11
22+
RUN pip install --no-cache-dir "uv==${UV_VERSION}" \
23+
&& uv pip install --no-cache --system "/app[all]"
2324

2425
ENTRYPOINT ["edr"]

0 commit comments

Comments
 (0)