File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,8 @@ FROM pytorch/pytorch:2.4.0-cuda11.8-cudnn9-runtime
22COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
33
44RUN apt-get update
5- RUN apt-get install --fix-missing -y -q --no-install-recommends libgomp1 ffmpeg libsm6 libxext6 git ninja-build g++ qpdf pandoc
5+ RUN apt-get install --fix-missing -y -q --no-install-recommends libgomp1 ffmpeg libsm6 pdftohtml libxext6 git ninja-build g++ qpdf pandoc
66
7- WORKDIR /tmp
8- RUN wget https://poppler.freedesktop.org/poppler-24.02.0.tar.xz \
9- && tar -xf poppler-24.02.0.tar.xz \
10- && cd poppler-24.02.0 \
11- && mkdir build \
12- && cd build \
13- && cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_NSS3=OFF -DENABLE_GPGME=OFF -DENABLE_QT6=OFF \
14- && make -j$(nproc) \
15- && make install \
16- && ldconfig
177
188RUN apt-get install -y ocrmypdf
199RUN apt-get install -y tesseract-ocr-fra
You can’t perform that action at this time.
0 commit comments