From 63938ecfddb756b88b0c5418a56c25608c02db6c Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 14 Jul 2021 11:11:49 +1200 Subject: [PATCH 1/2] Pin python version to match netlify --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index df93220a7d..050a0971b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:slim +FROM python:3.8-slim RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ From d0c56fa7619ebc8476d5e73090fbd7d6114cb9d3 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 14 Jul 2021 11:12:08 +1200 Subject: [PATCH 2/2] Pin sphinx version --- Dockerfile | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 050a0971b5..6c9bcfa57c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ software-properties-common \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* -RUN pip3 install --no-cache-dir --no-binary :all: \ - sphinx +COPY requirements.txt . +RUN pip3 install --no-cache-dir --no-binary :all: -r requirements.txt EXPOSE 8000 WORKDIR /data/esphomedocs diff --git a/requirements.txt b/requirements.txt index d77eea84f3..a20f2ded52 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -sphinx>=1.8.4 +sphinx==4.0.3