Skip to content

Commit 15be4d8

Browse files
Copilotsamppanja
andcommitted
Fix Dockerfile: replace curl-pipe-to-shell with pinned pip install of uv
Co-authored-by: samppanja <21281919+samppanja@users.noreply.github.com>
1 parent 46368fd commit 15be4d8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile

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

9-
RUN apt-get update && apt-get install -y curl ca-certificates libmagic1 && curl -LsSf https://astral.sh/uv/install.sh | sh \
10-
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
11-
&& uv sync --no-dev --frozen
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" \
11+
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
12+
&& uv sync --no-dev --frozen
1213

1314

1415

0 commit comments

Comments
 (0)