1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
dockerfiles/hass/Dockerfile
2016-11-16 11:18:49 +08:00

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