Skip to content

Commit b07041a

Browse files
better way to install uv
Co-authored-by: Daniel Kaufman <114174502+danielfromearth@users.noreply.github.com>
1 parent f015e95 commit b07041a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ ARG SERVICE_VERSION
55
ENV SETUPTOOLS_SCM_PRETEND_VERSION=$SERVICE_VERSION
66

77
RUN apt-get update \
8-
&& pip3 install --no-cache-dir --upgrade pip uv \
98
&& apt-get clean && rm -rf /var/lib/apt/lists/*
109

10+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
11+
1112
# Create a new user
1213
RUN adduser --quiet --disabled-password --shell /bin/sh --home /home/dockeruser --gecos "" --uid 1000 dockeruser
1314

0 commit comments

Comments
 (0)