mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 01:08:03 +01:00
12 lines
216 B
Docker
12 lines
216 B
Docker
ARG BUILD_FROM=esphome/esphome-base-amd64:2.1.1
|
|
FROM ${BUILD_FROM}
|
|
|
|
COPY . .
|
|
RUN pip3 install --no-cache-dir -e .
|
|
|
|
ENV USERNAME=""
|
|
ENV PASSWORD=""
|
|
|
|
WORKDIR /config
|
|
ENTRYPOINT ["esphome"]
|
|
CMD ["/config", "dashboard"]
|