add tesseract repo
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -28,6 +28,7 @@ RUN apt-get update && \
|
|
| 28 |
#copy requirements
|
| 29 |
COPY requirements.txt .
|
| 30 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 31 |
RUN pip install pytesseract && apt install -y tesseract-ocr
|
| 32 |
|
| 33 |
# Copy the application code
|
|
|
|
| 28 |
#copy requirements
|
| 29 |
COPY requirements.txt .
|
| 30 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 31 |
+
RUN add-apt-repository ppa:alex-p/tesseract-ocr5 && apt update
|
| 32 |
RUN pip install pytesseract && apt install -y tesseract-ocr
|
| 33 |
|
| 34 |
# Copy the application code
|