bambadij commited on
Commit
b9dc5a8
·
1 Parent(s): 68a216a
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -4,7 +4,12 @@ WORKDIR /app
4
 
5
  COPY . /app/
6
  RUN pip install --upgrade pip
7
- RUN pip install pytesseract
 
 
 
 
 
8
  COPY requirements.txt requirements.txt
9
 
10
  RUN pip install --no-cache-dir -r requirements.txt
 
4
 
5
  COPY . /app/
6
  RUN pip install --upgrade pip
7
+ RUN apt-get update && apt-get install -y \
8
+ tesseract-ocr \
9
+ tesseract-ocr-fra \
10
+ libtesseract-dev \
11
+ && apt-get clean \
12
+ && rm -rf /var/lib/apt/lists/*
13
  COPY requirements.txt requirements.txt
14
 
15
  RUN pip install --no-cache-dir -r requirements.txt