2021-07-14 02:57:00 +02:00
|
|
|
FROM python:3.8-slim
|
2018-06-09 09:58:58 +02:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
curl \
|
|
|
|
git \
|
|
|
|
make \
|
|
|
|
doxygen \
|
2018-08-27 13:21:30 +02:00
|
|
|
openssh-client \
|
2018-11-19 18:32:16 +01:00
|
|
|
software-properties-common \
|
2021-05-17 14:19:31 +02:00
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
|
2018-11-19 18:32:16 +01:00
|
|
|
|
2021-07-14 02:57:00 +02:00
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip3 install --no-cache-dir --no-binary :all: -r requirements.txt
|
2018-06-09 09:58:58 +02:00
|
|
|
|
|
|
|
EXPOSE 8000
|
2021-05-17 14:19:31 +02:00
|
|
|
WORKDIR /data/esphomedocs
|
2018-06-09 09:58:58 +02:00
|
|
|
|
|
|
|
CMD ["make", "webserver"]
|