From 101980a30ce89585c4d594e874bea5f555bfbe21 Mon Sep 17 00:00:00 2001 From: mikhailstasyuk <78797945+mikhailstasyuk@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:03:57 +0000 Subject: [PATCH] Add tesseract installation --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index c77f55a..86ae26f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,14 @@ WORKDIR /app COPY . /app +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y tesseract-ocr libtesseract-dev tesseract-ocr-rus &&\ + apt-get clean + +RUN apt install -y libgl1 + +RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt ENV ENV_FILE=/app/.env