diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 796b4b2c219642c3d28a8352b9b465a18633abec..93d2827fc519bd51341c98ce56f82b530fe75dc2 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -162,6 +162,6 @@ jobs:
           apk: "build-base;cmake;git;linux-headers;libexecinfo-dev;bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;autoconf;automake;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev"
           pip: "Cython;numpy;scikit-build"
           skip-binary: aiohttp
-          constraints: "requirements_all.txt"
+          constraints: "homeassistant/package_constraints.txt"
           requirements-diff: 'requirements_diff.txt'
           requirements: "requirements_all.txt"
diff --git a/Dockerfile b/Dockerfile
index dcf3c9979d5ef81602073eeaa77768514b71b31e..6bcb080a06e67070cedada14ebb683a2c62afd05 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,7 +11,7 @@ WORKDIR /usr/src
 COPY . homeassistant/
 RUN \
     pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
-    -r homeassistant/requirements_all.txt -c homeassistant/requirements_all.txt \
+    -r homeassistant/requirements_all.txt \
     && pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
     -e ./homeassistant \
     && python3 -m compileall homeassistant/homeassistant