Skip to content

Commit

Permalink
uv build wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Nov 5, 2024
1 parent 90aa8d3 commit 9225d53
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,8 @@ COPY docker/main/build_pysqlite3.sh /build_pysqlite3.sh
RUN /build_pysqlite3.sh

COPY docker/main/requirements-wheels.txt /requirements-wheels.txt
# we still have to use pip to build wheel
RUN pip3 wheel --wheel-dir=/wheels -r /requirements-wheels.txt

RUN uv add --requirements /requirements-wheels.txt \
&& uv build --wheel --out-dir /wheels

# Collect deps in a single layer
FROM scratch AS deps-rootfs
Expand Down

0 comments on commit 9225d53

Please sign in to comment.