mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:02 +02:00
24 lines
655 B
Docker
24 lines
655 B
Docker
#
|
|
# Dockerfile for hass (Home Assistant)
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
RUN set -xe \
|
|
&& apk update \
|
|
&& apk add --no-cache ca-certificates \
|
|
build-base \
|
|
libffi-dev \
|
|
linux-headers \
|
|
openssl-dev \
|
|
python3 \
|
|
python3-dev \
|
|
&& pip3 install --no-cache-dir homeassistant \
|
|
&& wget https://github.com/home-assistant/hassio-cli/releases/download/1.3.1/hassio_armhf -O /usr/local/bin/hassio
|
|
|
|
VOLUME /etc/hass
|
|
EXPOSE 8123
|
|
|
|
ENTRYPOINT ["hass", "--config", "/etc/hass"]
|