Created
January 2, 2018 21:01
-
-
Save mitchellrj/35d7592949cfae05b852fe5558b6ba99 to your computer and use it in GitHub Desktop.
home-assistant.io Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
EXPOSE 8123 | |
VOLUME ["/root/.homeassistant"] | |
RUN ["apk", "update"] | |
RUN ["apk", "add", "--no-cache", "g++", "python3-dev", "python3", "linux-headers"] | |
RUN ["python3", "-m", "pip", "install", "homeassistant", "netdisco", "sqlalchemy", "warrant", "xmltodict"] | |
# Trim the fat | |
RUN ["apk", "del", "g++", "python3-dev", "linux-headers"] | |
ENTRYPOINT ["hass", "--log-file", "/dev/stdout"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment