Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Use an official Python runtime as the base image
|
2 |
FROM python:3.10-slim
|
3 |
|
|
|
1 |
+
# Install Tesseract and language packs
|
2 |
+
RUN apt-get update && apt-get install -y \
|
3 |
+
tesseract-ocr \
|
4 |
+
tesseract-ocr-eng \
|
5 |
+
tesseract-ocr-urd \
|
6 |
+
libgl1 \
|
7 |
+
&& rm -rf /var/lib/apt/lists/*
|
8 |
+
|
9 |
# Use an official Python runtime as the base image
|
10 |
FROM python:3.10-slim
|
11 |
|