mirror of
https://github.com/esphome/esphome.git
synced 2024-12-01 13:13:54 +01:00
12 lines
249 B
Docker
12 lines
249 B
Docker
|
ARG BUILD_FROM=esphome/esphome-base-amd64:1.0.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"]
|