13 lines
367 B
Docker
13 lines
367 B
Docker
FROM python:3-onbuild
|
|
MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>
|
|
|
|
VOLUME /config
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y cython3 libudev-dev && \
|
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
|
pip3 install cython && \
|
|
scripts/build_python_openzwave
|
|
|
|
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]
|