Soumik Bose commited on
Commit
d7edb12
·
1 Parent(s): f427afc
Files changed (1) hide show
  1. Dockerfile +2 -8
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  # Use the official Python 3.11 slim image
2
  FROM python:3.11-slim
3
 
4
- # Install system dependencies required for Math/Data libraries + WeasyPrint
5
  # libgomp1 is CRITICAL for scikit-learn & numpy parallelization to prevent segfaults
6
  RUN apt-get update && apt-get install -y --no-install-recommends \
7
  curl \
@@ -10,17 +10,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
10
  libgomp1 \
11
  libpango-1.0-0 \
12
  libpangoft2-1.0-0 \
13
- libpangocairo-1.0-0 \
14
- libgdk-pixbuf2.0-0 \
15
- libffi-dev \
16
- libcairo2 \
17
- libcairo2-dev \
18
  libjpeg62-turbo-dev \
19
  libopenjp2-7-dev \
20
- libssl-dev \
21
  fonts-dejavu \
22
  fonts-liberation \
23
- fontconfig \
24
  && rm -rf /var/lib/apt/lists/*
25
 
26
  # Set the working directory inside the container
 
1
  # Use the official Python 3.11 slim image
2
  FROM python:3.11-slim
3
 
4
+ # Install system dependencies required for Math/Data libraries
5
  # libgomp1 is CRITICAL for scikit-learn & numpy parallelization to prevent segfaults
6
  RUN apt-get update && apt-get install -y --no-install-recommends \
7
  curl \
 
10
  libgomp1 \
11
  libpango-1.0-0 \
12
  libpangoft2-1.0-0 \
 
 
 
 
 
13
  libjpeg62-turbo-dev \
14
  libopenjp2-7-dev \
15
+ libffi-dev \
16
  fonts-dejavu \
17
  fonts-liberation \
 
18
  && rm -rf /var/lib/apt/lists/*
19
 
20
  # Set the working directory inside the container