Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix `build-docker-image` CI step

Johann Bauer701506e5690f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9bddc7d6b..7e4dd7016 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -188,6 +188,7 @@ jobs:
run: |
sudo apt-get update -qq
sudo apt-get install -qq --no-install-recommends gettext liblept5
+ pip3 install --upgrade pip setuptools wheel
pip3 install -r requirements.txt
-
name: Download frontend artifact
diff --git a/Dockerfile b/Dockerfile
index 63cfee19c..6c0caa049 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,6 +63,7 @@ RUN apt-get update \
build-essential \
libpq-dev \
libqpdf-dev \
+ && python3 -m pip install --upgrade pip setuptools wheel \
&& python3 -m pip install --default-timeout=1000 --upgrade --no-cache-dir supervisor \
&& python3 -m pip install --default-timeout=1000 --no-cache-dir -r ../requirements.txt \
&& apt-get -y purge build-essential libqpdf-dev \