mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-26 02:26:30 +00:00
Update Dockerfile
This commit is contained in:
parent
ccb39da569
commit
85ed4d9e8d
@ -18,7 +18,8 @@ RUN apk add --no-cache \
|
|||||||
# Install requirements
|
# Install requirements
|
||||||
COPY requirements.txt /usr/src/
|
COPY requirements.txt /usr/src/
|
||||||
RUN export MAKEFLAGS="-j$(nproc)" \
|
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 \
|
-r /usr/src/requirements.txt \
|
||||||
&& rm -f /usr/src/requirements.txt
|
&& rm -f /usr/src/requirements.txt
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user