Update Dockerfile
Browse files- Dockerfile +6 -7
Dockerfile
CHANGED
@@ -3,13 +3,12 @@ FROM python:3.9
|
|
3 |
# Set environment variable for Tesseract data directory
|
4 |
ENV TESSDATA_PREFIX=/usr/share/tesseract-ocr/4.00/tessdata/
|
5 |
|
6 |
-
# Install
|
7 |
-
RUN apt-get update && apt-get install -y
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
tesseract-ocr-all \
|
13 |
&& rm -rf /var/lib/apt/lists/*
|
14 |
|
15 |
# Install Tesseract and its language data files
|
|
|
3 |
# Set environment variable for Tesseract data directory
|
4 |
ENV TESSDATA_PREFIX=/usr/share/tesseract-ocr/4.00/tessdata/
|
5 |
|
6 |
+
# Install system dependencies
|
7 |
+
RUN apt-get update && apt-get install -y \
|
8 |
+
tesseract-ocr \
|
9 |
+
tesseract-ocr-eng \
|
10 |
+
tesseract-ocr-chi-sim \
|
11 |
+
tesseract-ocr-msa \
|
|
|
12 |
&& rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
# Install Tesseract and its language data files
|