esphome/docker/Dockerfile

12 lines
249 B
Docker
Raw Normal View History

2019-02-14 16:07:28 +01:00
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"]