Use requirements for constraints (#50558)

This commit is contained in:
Pascal Vizeli
2021-05-13 17:07:13 +02:00
committed by GitHub
parent e991b61c12
commit 136b34af20
2 changed files with 2 additions and 2 deletions

View File

@@ -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 \
-r homeassistant/requirements_all.txt -c 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