Skip to content

Commit

Permalink
Fix exit condition. #1566
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Aug 31, 2023
1 parent 6678bad commit 442dda4
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 @@ -23,8 +23,11 @@ RUN \
RUN \
--mount=type=cache,id=pip,target=/root/.cache/pip \
<<eot
set -x
set -- $(ls /wheels/*.gz /wheels/*.zip 2>/dev/null)
test -n "${1:-}" && pip wheel "$@" --wheel-dir=/wheels
if [ $# -gt 0 ]; then
pip wheel "$@" --wheel-dir=/wheels
fi
eot

# Install app dependencies
Expand Down

0 comments on commit 442dda4

Please sign in to comment.