Skip to content

Commit

Permalink
docker: Update build process
Browse files Browse the repository at this point in the history
  • Loading branch information
phibos committed Sep 17, 2024
1 parent 47e4c95 commit 6fd8593
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ RUN set -ex; \
apk add git; \
cd /build; \
python -m pip install build --user; \
python -m build --wheel --outdir dist/ .
python -m build --wheel --outdir dist/ . ; \
ls -l dist/

FROM python:3.12-alpine

COPY --from=build /build/dist/*.whl /dist
COPY --from=build /build/dist/*.whl /dist/

RUN set -ex; \
python -m pip install /dist/*.whl; \
Expand Down

0 comments on commit 6fd8593

Please sign in to comment.