midokhaled927 commited on
Commit
5d011a6
·
verified ·
1 Parent(s): 00980d6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -3,23 +3,23 @@ FROM python:3.9-slim
3
  WORKDIR /app
4
 
5
  RUN apt-get update && apt-get install -y \
6
- libgl1-mesa-glx \
7
  libglib2.0-0 \
8
  libsm6 \
9
  libxext6 \
10
- libxrender-dev \
11
  libgomp1 \
12
  wget \
13
  && rm -rf /var/lib/apt/lists/*
14
 
15
- # تثبيت NumPy 1.x أولاً قبل أي حاجة
16
  RUN pip install --no-cache-dir numpy==1.23.5
17
 
18
  # تثبيت TensorFlow مع بقية المكتبات
19
  RUN pip install --no-cache-dir \
20
  tensorflow==2.13.0 \
21
  gradio \
22
- opencv-python \
23
  pillow \
24
  scikit-learn
25
 
 
3
  WORKDIR /app
4
 
5
  RUN apt-get update && apt-get install -y \
6
+ libgl1 \
7
  libglib2.0-0 \
8
  libsm6 \
9
  libxext6 \
10
+ libxrender1 \
11
  libgomp1 \
12
  wget \
13
  && rm -rf /var/lib/apt/lists/*
14
 
15
+ # تثبيت NumPy 1.x أولاً
16
  RUN pip install --no-cache-dir numpy==1.23.5
17
 
18
  # تثبيت TensorFlow مع بقية المكتبات
19
  RUN pip install --no-cache-dir \
20
  tensorflow==2.13.0 \
21
  gradio \
22
+ opencv-python-headless \
23
  pillow \
24
  scikit-learn
25