From eb58448f6d847b256139840b8c40ea0b83cd48ae Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 19 Nov 2019 14:35:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A1=20Check=20pip=20dependencies=20ear?= =?UTF-8?q?ly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index b853c48..6098f0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,5 +78,10 @@ RUN pip3 install --no-cache-dir -r /tmp/requirements.txt COPY my_ocrd_workflow /usr/bin COPY xsd/* /usr/share/xml/ + +RUN pip3 install --no-cache-dir pipdeptree && \ + pipdeptree -w fail + + WORKDIR /data CMD ["/usr/bin/my_ocrd_workflow"]