1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-26 05:27:31 +02:00
dockerfiles/hass/Dockerfile

21 lines
455 B
Docker
Raw Normal View History

2016-10-31 11:28:34 +08:00
#
# Dockerfile for hass (Home Assistant)
#
FROM alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
2017-04-08 13:29:38 +08:00
&& apk update \
2017-04-16 12:40:40 +08:00
&& apk add --no-cache ca-certificates \
build-base \
2016-10-31 20:30:17 +08:00
linux-headers \
python3 \
python3-dev \
2017-04-08 13:29:38 +08:00
&& pip3 install --no-cache-dir homeassistant
2016-10-31 11:28:34 +08:00
VOLUME /etc/hass
EXPOSE 8123
ENTRYPOINT ["hass", "--config", "/etc/hass"]