Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
-
# Install system dependencies (needed for unstructured/pdf parsing)
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
poppler-utils \
|
| 6 |
libmagic-dev \
|
| 7 |
tesseract-ocr \
|
|
|
|
|
|
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
# Set working directory
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
+
# Install system dependencies (needed for unstructured/pdf parsing and OpenCV)
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
poppler-utils \
|
| 6 |
libmagic-dev \
|
| 7 |
tesseract-ocr \
|
| 8 |
+
libgl1 \
|
| 9 |
+
libglib2.0-0 \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Set working directory
|