Skip to content

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

Add timeout to `pip install`

Quinn Casey7845cece6b34
diff --git a/Dockerfile b/Dockerfile
index 8ddb56479..63cfee19c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,8 +63,8 @@ RUN apt-get update \
build-essential \
libpq-dev \
libqpdf-dev \
- && python3 -m pip install --upgrade --no-cache-dir supervisor \
- && python3 -m pip install --no-cache-dir -r ../requirements.txt \
+ && 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 \
&& apt-get -y autoremove --purge \
&& rm -rf /var/lib/apt/lists/*