Skip to content

Commit 9db8753

Browse files
committed
chore(docker): Slim down wheel build further
1 parent be202fe commit 9db8753

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ ARG BASE_IMAGE=ubuntu:jammy-20240125
44
#
55
# Build wheel
66
#
7-
FROM python:slim AS src
8-
RUN pip install build
9-
RUN apt-get update && \
10-
apt-get install -y --no-install-recommends git
7+
FROM ghcr.io/astral-sh/uv:python3.13-alpine AS src
8+
RUN apk add git
119
COPY . /src
12-
RUN python -m build /src
10+
RUN uv build --wheel /src
1311

1412
#
1513
# Download stages

0 commit comments

Comments
 (0)