Skip to content

Commit 9d74b55

Browse files
committed
Use official uv
1 parent 4e35fda commit 9d74b55

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
FROM python:3.10-slim AS base
22

3+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
4+
COPY --from=ghcr.io/astral-sh/uv:0.8.11 /uv /uvx /bin/
5+
36
RUN apt-get update && apt-get install -y --no-install-recommends \
4-
tini curl ca-certificates \
7+
tini ca-certificates \
58
&& rm -rf /var/lib/apt/lists/*
69

7-
RUN curl -LsSf https://astral.sh/uv/install.sh | sh -s -- --bin-dir /usr/local/bin
8-
910
WORKDIR /app
1011

1112
COPY pyproject.toml uv.lock* ./

0 commit comments

Comments
 (0)