FROM python:3.10 WORKDIR /code # نسخة من المتطلبات وتثبيتها COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # نسخة من باقي ملفات المشروع COPY . . # تشغيل السيرفر على بورت 7860 (إجباري في Hugging Face) CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]