esphome/docker/Dockerfile
2019-02-14 16:07:28 +01:00

11 lines
249 B
Docker

ARG BUILD_FROM=esphome/esphome-base-amd64:1.1.0
FROM ${BUILD_FROM}
COPY . .
RUN \
pip install --no-cache-dir --no-binary :all: -e . && \
pip install --no-cache-dir pillow
WORKDIR /config
ENTRYPOINT ["esphome"]
CMD ["/config", "dashboard"]