Skip to content

Commit a25eafe

Browse files
Copilotsamppanja
andcommitted
Use pipx to install uv instead of pip3 --break-system-packages
Co-authored-by: samppanja <21281919+samppanja@users.noreply.github.com>
1 parent 15be4d8 commit a25eafe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ WORKDIR /app
66
ENV PATH="/root/.local/bin/:$PATH"
77
COPY . /app
88

9-
RUN apt-get update && apt-get install -y python3-pip ca-certificates libmagic1 \
10-
&& pip3 install --no-cache-dir --break-system-packages "uv==0.6.3" \
9+
RUN apt-get update && apt-get install -y pipx ca-certificates libmagic1 \
10+
&& pipx install "uv==0.6.3" \
1111
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
1212
&& uv sync --no-dev --frozen
1313

0 commit comments

Comments
 (0)