Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
FROM python:3.9-slim
|
| 2 |
|
| 3 |
-
# Install system dependencies (Poppler for pdf2image)
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
poppler-utils \
|
|
|
|
|
|
|
| 6 |
&& rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
# Set working directory
|
|
|
|
| 1 |
FROM python:3.9-slim
|
| 2 |
|
| 3 |
+
# Install system dependencies (Poppler for pdf2image + Tesseract for OCR)
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
poppler-utils \
|
| 6 |
+
tesseract-ocr \
|
| 7 |
+
tesseract-ocr-hin \
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
# Set working directory
|