diff --git a/Dockerfile b/Dockerfile index daed411..ad8cb1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM codait/max-base:v1.1.3 +FROM codait/max-base:v1.3.2 RUN apt-get update \ && apt-get install -y \ @@ -20,4 +20,7 @@ COPY . /workspace EXPOSE 5000 +# this is needed for tesseract versions prior to 4.1 (https://github.com/tesseract-ocr/tesseract/issues/1670#issuecomment-515324015) +ENV LC_ALL=C + CMD python /workspace/app.py