diff --git a/Dockerfile b/Dockerfile index 8728509ae..79da6e6a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,8 @@ RUN apk add --no-cache \ # Install requirements COPY requirements.txt /usr/src/ RUN export MAKEFLAGS="-j$(nproc)" \ - && pip3 install --no-cache-dir --find-links "https://wheels.home-assistant.io/alpine-$(cut -d '.' -f 1-2 < /etc/alpine-release)/${BUILD_ARCH}/" \ + && pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links \ + "https://wheels.home-assistant.io/alpine-$(cut -d '.' -f 1-2 < /etc/alpine-release)/${BUILD_ARCH}/" \ -r /usr/src/requirements.txt \ && rm -f /usr/src/requirements.txt