From f731634ba1ec11c31feb8e2c21620a9c04a1a54a Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Mon, 27 May 2019 11:47:38 +0200
Subject: [PATCH] Update Dockerfile
---
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index cadb213..578c4d1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,7 +26,7 @@ RUN wget -nv https://github.com/tmbdev/ocropy/archive/v"$OCROPY_VERSION".tar.gz
wget -nv http://www.tmbdev.net/en-default.pyrnn.gz -P models/ && \
python2.7 setup.py install && \
cd .. && \
- rm -r v"$OCROPY_VERSION".tar.gz ocropy-"$OCROPY_VERSION"
+ rm -r ocropy-"$OCROPY_VERSION" v"$OCROPY_VERSION".tar.gz
# Install pyFlow
ENV PYFLOW_VERSION 1.1.20
@@ -35,7 +35,7 @@ RUN wget -nv https://github.com/Illumina/pyflow/releases/download/v"$PYFLOW_VERS
cd pyflow-"$PYFLOW_VERSION" && \
python2.7 setup.py build install && \
cd .. && \
- rm -r pyflow-"$PYFLOW_VERSION".tar.gz pyflow-"$PYFLOW_VERSION"
+ rm -r pyflow-"$PYFLOW_VERSION" pyflow-"$PYFLOW_VERSION".tar.gz
# Install Tesseract OCR and Data Files
RUN echo "deb https://notesalexp.org/tesseract-ocr/stretch/ stretch main" >> /etc/apt/sources.list && \