REPO
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -28,8 +28,12 @@ RUN apt-get update && \
|
|
28 |
#copy requirements
|
29 |
COPY requirements.txt .
|
30 |
RUN pip install --no-cache-dir -r requirements.txt
|
31 |
-
RUN
|
32 |
-
|
|
|
|
|
|
|
|
|
33 |
|
34 |
# Copy the application code
|
35 |
USER admin
|
|
|
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 && \
|
32 |
+
apt-get update && \
|
33 |
+
apt-get install -y \
|
34 |
+
tesseract-ocr \
|
35 |
+
libtesseract-dev
|
36 |
+
RUN pip install pytesseract
|
37 |
|
38 |
# Copy the application code
|
39 |
USER admin
|