PARTHA181098 commited on
Commit
ceed3ab
·
verified ·
1 Parent(s): 2b90f73

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -10,10 +10,7 @@ RUN apt-get update && apt-get install -y \
10
  libxext6 \
11
  libxrender1 \
12
  libgomp1 \
13
- swig \
14
- mupdf \
15
- mupdf-tools \
16
- libmupdf-dev \
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
  # -------- Working dir --------
@@ -21,6 +18,10 @@ WORKDIR /app
21
 
22
  # -------- Copy dependencies --------
23
  COPY requirements.txt .
 
 
 
 
24
  RUN pip install --no-cache-dir -r requirements.txt
25
 
26
  # -------- Copy project code --------
 
10
  libxext6 \
11
  libxrender1 \
12
  libgomp1 \
13
+ poppler-utils \
 
 
 
14
  && rm -rf /var/lib/apt/lists/*
15
 
16
  # -------- Working dir --------
 
18
 
19
  # -------- Copy dependencies --------
20
  COPY requirements.txt .
21
+
22
+ # Force PyMuPDF to build with bundled MuPDF instead of system version
23
+ ENV PYMUPDF_SETUP_MUPDF_BUILD=""
24
+
25
  RUN pip install --no-cache-dir -r requirements.txt
26
 
27
  # -------- Copy project code --------