leonarb commited on
Commit
d3636ca
·
verified ·
1 Parent(s): 4f9eb00

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -9,9 +9,10 @@ RUN apt-get update && apt-get install -y \
9
  python3 python3-pip && \
10
  apt-get clean
11
 
12
- # Download prebuilt pdf2htmlEX binary (built by bwits)
13
- RUN wget -O /usr/local/bin/pdf2htmlEX https://github.com/BWITS/pdf2htmlex-docker/releases/download/v0.18.8.rc2/pdf2htmlEX && \
14
- chmod +x /usr/local/bin/pdf2htmlEX
 
15
 
16
  # Install Gradio
17
  RUN pip3 install gradio==4.24.0
 
9
  python3 python3-pip && \
10
  apt-get clean
11
 
12
+ # Download and install pdf2htmlEX
13
+ RUN wget https://github.com/pdf2htmlEX/pdf2htmlEX/releases/download/v0.18.8.rc1/pdf2htmlEX-0.18.8.rc1-master-20200630-Ubuntu-bionic-x86_64.deb && \
14
+ dpkg -i pdf2htmlEX-0.18.8.rc1-master-20200630-Ubuntu-bionic-x86_64.deb && \
15
+ rm pdf2htmlEX-0.18.8.rc1-master-20200630-Ubuntu-bionic-x86_64.deb
16
 
17
  # Install Gradio
18
  RUN pip3 install gradio==4.24.0