1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/hass/Dockerfile
2017-01-27 17:44:16 +08:00

24 lines
597 B
Docker

#
# Dockerfile for hass (Home Assistant)
#
FROM alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache build-base \
linux-headers \
python3 \
python3-dev \
&& pip3 install --no-cache-dir homeassistant==0.36.1 \
netdisco==0.8.1 \
pychromecast==0.7.6 \
&& apk del build-base \
linux-headers \
python3-dev
VOLUME /etc/hass
EXPOSE 8123
ENTRYPOINT ["hass", "--config", "/etc/hass"]