malath-model / Dockerfile
midokhaled927's picture
Update Dockerfile
5d011a6 verified
raw
history blame contribute delete
519 Bytes
FROM python:3.9-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender1 \
libgomp1 \
wget \
&& rm -rf /var/lib/apt/lists/*
# تثبيت NumPy 1.x أولاً
RUN pip install --no-cache-dir numpy==1.23.5
# تثبيت TensorFlow مع بقية المكتبات
RUN pip install --no-cache-dir \
tensorflow==2.13.0 \
gradio \
opencv-python-headless \
pillow \
scikit-learn
COPY . .
CMD ["python", "app.py"]