🎡 Check pip dependencies early

This commit is contained in:
Gerber, Mike 2019-11-19 14:35:23 +01:00
parent 3ecf478f79
commit eb58448f6d

View file

@ -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"]