1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 09:41:20 +00:00
dockerfiles/hass/Dockerfile

22 lines
576 B
Docker
Raw Normal View History

2016-10-31 03:28:34 +00:00
#
# Dockerfile for hass (Home Assistant)
#
FROM alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
2017-04-08 05:29:38 +00:00
&& apk update \
2017-04-16 04:40:40 +00:00
&& apk add --no-cache ca-certificates \
build-base \
2016-10-31 12:30:17 +00:00
linux-headers \
python3 \
python3-dev \
2018-04-16 10:54:48 +00:00
&& pip3 install --no-cache-dir homeassistant \
&& wget https://github.com/home-assistant/hassio-cli/releases/download/1.2.1/hassio_armhf -O /usr/local/bin/hassio
2016-10-31 03:28:34 +00:00
VOLUME /etc/hass
EXPOSE 8123
ENTRYPOINT ["hass", "--config", "/etc/hass"]