mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-20 02:18:59 +00:00
Update Dockerfile
This commit is contained in:
@@ -16,12 +16,9 @@ RUN apk add --no-cache \
|
|||||||
|
|
||||||
# Install requirements
|
# Install requirements
|
||||||
COPY requirements.txt /usr/src/
|
COPY requirements.txt /usr/src/
|
||||||
RUN apk add --no-cache --virtual .build-dependencies \
|
RUN export MAKEFLAGS="-j$(nproc)" \
|
||||||
build-base \
|
|
||||||
&& export MAKEFLAGS="-j$(nproc)" \
|
|
||||||
&& pip3 install --no-cache-dir --find-links https://wheels.hass.io/alpine-3.9/${BUILD_ARCH}/ \
|
&& pip3 install --no-cache-dir --find-links https://wheels.hass.io/alpine-3.9/${BUILD_ARCH}/ \
|
||||||
-r /usr/src/requirements.txt \
|
-r /usr/src/requirements.txt \
|
||||||
&& apk del .build-dependencies \
|
|
||||||
&& rm -f /usr/src/requirements.txt
|
&& rm -f /usr/src/requirements.txt
|
||||||
|
|
||||||
# Install HassIO
|
# Install HassIO
|
||||||
|
|||||||
Reference in New Issue
Block a user