Skip to content

Commit

Permalink
Add tesseract installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailstasyuk committed Sep 18, 2024
1 parent 22d931d commit 101980a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 101980a

Please sign in to comment.