2019-02-17 14:54:15 +00:00
|
|
|
ARG BUILD_FROM=esphome/esphome-base-amd64:1.2.1
|
2019-02-13 15:54:02 +00:00
|
|
|
FROM ${BUILD_FROM}
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
RUN \
|
2019-02-17 14:54:15 +00:00
|
|
|
pip2 install --no-cache-dir --no-binary :all: -e .
|
2019-02-13 15:54:02 +00:00
|
|
|
|
|
|
|
WORKDIR /config
|
|
|
|
ENTRYPOINT ["esphome"]
|
|
|
|
CMD ["/config", "dashboard"]
|