mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
10 lines
396 B
Text
10 lines
396 B
Text
ARG BUILD_FROM=esphome/esphome-lint-base:latest
|
|
FROM ${BUILD_FROM}
|
|
|
|
COPY requirements.txt requirements_optional.txt requirements_test.txt docker/platformio_install_deps.py platformio.ini /
|
|
RUN \
|
|
pip3 install --no-cache-dir -r /requirements.txt -r /requirements_optional.txt -r /requirements_test.txt \
|
|
&& /platformio_install_deps.py /platformio.ini
|
|
|
|
VOLUME ["/esphome"]
|
|
WORKDIR /esphome
|