diff --git a/Dockerfile b/Dockerfile index 99c0a1ad6c..6941a8eac6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 +</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