mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
30 lines
741 B
Docker
30 lines
741 B
Docker
FROM ubuntu:xenial
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl \
|
|
python3 \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-pygments \
|
|
git \
|
|
make \
|
|
doxygen \
|
|
openssh-client \
|
|
software-properties-common \
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
|
|
|
|
RUN apt-add-repository ppa:inkscape.dev/stable && \
|
|
apt-get update && apt-get install -y --no-install-recommends \
|
|
inkscape \
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
|
|
|
|
RUN pip3 install --no-cache-dir --no-binary :all: \
|
|
sphinx \
|
|
breathe
|
|
|
|
VOLUME /data/esphomedocs
|
|
EXPOSE 8000
|
|
WORKDIR /data/esphomedocs
|
|
|
|
CMD ["make", "webserver"]
|