1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 22:53:59 +00:00

Fix docker build

This commit is contained in:
Otto Winter
2018-08-26 11:26:14 +02:00
parent 1576e1847e
commit 74c70509c2
19 changed files with 1086 additions and 28 deletions

View File

@@ -1,6 +1,10 @@
FROM python:2.7
MAINTAINER Otto Winter <contact@otto-winter.com>
RUN apt-get update && apt-get install -y \
python-pil \
&& rm -rf /var/lib/apt/lists/*
ENV ESPHOMEYAML_OTA_HOST_PORT=6123
EXPOSE 6123
VOLUME /config
@@ -16,7 +20,7 @@ RUN platformio settings set enable_telemetry No && \
COPY . .
RUN pip install -e . && \
pip install pillow tzlocal
pip install tzlocal
WORKDIR /config
ENTRYPOINT ["esphomeyaml"]