Skip to content

Commit

Permalink
Merge pull request #1566 from glensc/wheel-ext
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Aug 31, 2023
2 parents b536f3d + 48798ad commit ecd400b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ RUN \
# Build missing wheels
RUN \
--mount=type=cache,id=pip,target=/root/.cache/pip \
pip wheel $(ls /wheels/*.gz /wheels/*.zip 2>/dev/null) --wheel-dir=/wheels
<<eot
set -- $(ls /wheels/*.gz /wheels/*.zip 2>/dev/null)
test -n "${1:-}" && pip wheel $(ls /wheels/*.gz /wheels/*.zip 2>/dev/null) --wheel-dir=/wheels
eot

# Install app dependencies
FROM base AS build
Expand Down

0 comments on commit ecd400b

Please sign in to comment.