Spaces:
Sleeping
Sleeping
poppler for system dependency
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -3,6 +3,9 @@ FROM python:3.10
|
|
| 3 |
ENV CUDA_VISIBLE_DEVICES=-1
|
| 4 |
ARG PIP_NO_CACHE_DIR=1
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
# Install specific version of numpy for compatibility
|
| 7 |
RUN pip install numpy==1.26.4
|
| 8 |
|
|
|
|
| 3 |
ENV CUDA_VISIBLE_DEVICES=-1
|
| 4 |
ARG PIP_NO_CACHE_DIR=1
|
| 5 |
|
| 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 |
|