mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-16 10:55:21 +01:00
0469882912
Replace the existing webserver target with a live-reloading target. Adds a dependency on https://github.com/executablebooks/sphinx-autobuild
19 lines
437 B
Docker
19 lines
437 B
Docker
FROM python:3.8-slim
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl \
|
|
git \
|
|
make \
|
|
doxygen \
|
|
openssh-client \
|
|
software-properties-common \
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
|
|
|
|
COPY requirements.txt .
|
|
RUN pip3 install --no-cache-dir --no-binary :all: -r requirements.txt
|
|
|
|
EXPOSE 8000
|
|
WORKDIR /data/esphomedocs
|
|
|
|
CMD ["make", "live-html"]
|