FROM python:3.10-slim # تثبيت ffmpeg وتحديث شهادات الأمان RUN apt-get update && apt-get install -y ffmpeg curl && rm -rf /var/lib/apt/lists/* WORKDIR /code # تحديث pip وتثبيت المكتبات COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade pip RUN pip install --no-cache-dir -r /code/requirements.txt COPY . . CMD ["python", "app.py"]