errantanomie commited on
Commit
c613cc0
·
verified ·
1 Parent(s): 1ed3838

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -8
Dockerfile CHANGED
@@ -1,16 +1,13 @@
1
  FROM python:3.10
2
 
3
- # Install Poppler with an alternative source (more comprehensive install)
4
- RUN apt-get update && apt-get install -y \
5
- poppler-utils \
6
- libpoppler-cpp-dev \
7
- && apt-get clean
8
 
9
- # Verify Poppler installation
10
- RUN pdfinfo -version
11
 
12
  # Ensure Poppler is in PATH
13
- ENV PATH="/usr/bin:${PATH}"
14
 
15
  # Set working directory
16
  WORKDIR /app
 
1
  FROM python:3.10
2
 
3
+ # Install Poppler
4
+ RUN apt-get update && apt-get install -y poppler-utils
 
 
 
5
 
6
+ # Verify Poppler installation and show exact path of pdfinfo
7
+ RUN which pdfinfo && pdfinfo -version
8
 
9
  # Ensure Poppler is in PATH
10
+ ENV PATH="/usr/local/bin:/usr/bin:${PATH}"
11
 
12
  # Set working directory
13
  WORKDIR /app