moahmedwafy commited on
Commit
5a6e6ac
·
1 Parent(s): 8f543e7

update: dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +41 -0
Dockerfile CHANGED
@@ -1,6 +1,47 @@
1
  # Use the official Python image from the Docker Hub
2
  FROM python:3.12-slim
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
 
1
  # Use the official Python image from the Docker Hub
2
  FROM python:3.12-slim
3
 
4
+ # install apt dependencies
5
+ RUN apt-get update && apt-get install -y \
6
+ build-essential \
7
+ libpq-dev \
8
+ libffi-dev \
9
+ libssl-dev \
10
+ libxml2-dev \
11
+ libxslt1-dev \
12
+ zlib1g-dev \
13
+ libjpeg-dev \
14
+ libfreetype6-dev \
15
+ liblcms2-dev \
16
+ libopenjp2-7-dev \
17
+ libtiff5-dev \
18
+ libwebp-dev \
19
+ libharfbuzz-dev \
20
+ libfribidi-dev \
21
+ tcl8.6-dev \
22
+ tk8.6-dev \
23
+ python3-tk \
24
+ python3-dev \
25
+ python3-pip \
26
+ python3-setuptools \
27
+ python3-wheel \
28
+ python3-cffi \
29
+ python3-cryptography \
30
+ python3-openssl \
31
+ python3-lxml \
32
+ python3-pillow \
33
+ python3-numpy \
34
+ python3-scipy \
35
+ python3-matplotlib \
36
+ python3-pandas \
37
+ python3-sqlalchemy \
38
+ python3-psycopg2 \
39
+ python3-redis \
40
+ python3-requests \
41
+ python3-flask \
42
+ python3-flask-cors \
43
+ python3-flask-restful
44
+
45
  # Set the working directory in the container
46
  WORKDIR /app
47