1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
dockerfiles/hass/Dockerfile
2017-04-08 13:08:58 +08:00

23 lines
537 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.41 \
netdisco==0.9.2\
&& apk del build-base \
linux-headers \
python3-dev
VOLUME /etc/hass
EXPOSE 8123
ENTRYPOINT ["hass", "--config", "/etc/hass"]