hass-core/Dockerfile

28 lines
786 B
Text
Raw Normal View History

FROM python:3.4
2014-09-24 22:36:52 -05:00
MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>
VOLUME /config
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
2015-08-31 22:01:45 -07:00
# For the nmap tracker
RUN apt-get update && \
apt-get install -y --no-install-recommends nmap net-tools && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY script/build_python_openzwave script/build_python_openzwave
2015-10-24 11:27:47 -07:00
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<0.23" && \
script/build_python_openzwave
2015-02-21 16:59:17 -08:00
COPY requirements_all.txt requirements_all.txt
RUN pip3 install --no-cache-dir -r requirements_all.txt
# Copy source
COPY . .
2014-11-05 07:58:20 -08:00
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]