From def85a3d37cafc1df75d5d4e90597eace8f6b1cb Mon Sep 17 00:00:00 2001
From: jonaswinkler <jonas.winkler@jpwinkler.de>
Date: Sun, 10 Jan 2021 15:51:40 +0100
Subject: [PATCH] maybe use requirements instead?

---
 .github/workflows/ci.yml | 2 +-
 Dockerfile               | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index aa4ee9b74..523f74e61 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -125,7 +125,7 @@ jobs:
         with:
           context: .
           file: ./Dockerfile
-          platforms: linux/amd64,linux/arm/v7,linux/arm64
+          platforms: linux/arm/v7 # linux/amd64,linux/arm/v7,linux/arm64
           push: true
           tags: jonaswinkler/paperless-ng:${{ steps.prepare.outputs.version }}
           cache-from: type=local,src=/tmp/.buildx-cache
diff --git a/Dockerfile b/Dockerfile
index 16c52caa9..d124ddc09 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -65,8 +65,9 @@ RUN apt-get update \
 		unpaper \
 		zlib1g \
 
-	&& pip3 install --upgrade supervisor pipenv setuptools \
-  && pipenv install --system --deploy --ignore-pipfile \
+  && pip3 install --upgrade supervisor pipenv setuptools \
+  && pipenv lock -r > requirements.txt \
+  && pip3 install -r requirements.txt \
   && pipenv --clear \
   && pip3 uninstall -y pipenv \
 	&& apt-get -y purge build-essential libqpdf-dev python3-dev python3-pip \