Skip to content

Commit 035f244

Browse files
Copilotsamppanja
andcommitted
Add UV_VERSION build arg to Dockerfile for easier version overriding
Co-authored-by: samppanja <21281919+samppanja@users.noreply.github.com>
1 parent b6002ed commit 035f244

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# syntax=docker/dockerfile:1
22
FROM ubuntu:24.04
33

4+
ARG UV_VERSION=0.6.3
5+
46
WORKDIR /app
57

68
ENV PATH="/root/.local/bin/:$PATH"
79

810
RUN apt-get update && apt-get install -y pipx ca-certificates libmagic1 \
9-
&& pipx install "uv==0.6.3" \
11+
&& pipx install "uv==${UV_VERSION}" \
1012
&& apt-get clean && rm -rf /var/lib/apt/lists/*
1113

1214
COPY pyproject.toml uv.lock ./

0 commit comments

Comments
 (0)