Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -6,6 +6,12 @@ ARG PIP_NO_CACHE_DIR=1
|
|
| 6 |
# Install system dependencies, including Poppler
|
| 7 |
RUN apt-get update && apt-get install -y poppler-utils && rm -rf /var/lib/apt/lists/*
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
# Install specific version of numpy for compatibility
|
| 10 |
RUN pip install numpy==1.26.4
|
| 11 |
|
|
|
|
| 6 |
# Install system dependencies, including Poppler
|
| 7 |
RUN apt-get update && apt-get install -y poppler-utils && rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
+
# Install system dependencies
|
| 10 |
+
RUN apt-get update && apt-get install -y \
|
| 11 |
+
tesseract-ocr \
|
| 12 |
+
libtesseract-dev \
|
| 13 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
+
|
| 15 |
# Install specific version of numpy for compatibility
|
| 16 |
RUN pip install numpy==1.26.4
|
| 17 |
|