core/Dockerfile

22 lines
601 B
Docker
Raw Normal View History

FROM python:3.5
2014-09-25 03:36:52 +00:00
MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>
VOLUME /config
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Copy build scripts
COPY script/setup_docker_prereqs script/build_python_openzwave script/build_libcec script/install_phantomjs script/
RUN script/setup_docker_prereqs
# Install hass component dependencies
COPY requirements_all.txt requirements_all.txt
RUN pip3 install --no-cache-dir -r requirements_all.txt && \
pip3 install --no-cache-dir mysqlclient psycopg2 uvloop
# Copy source
COPY . .
2014-11-05 15:58:20 +00:00
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]