# גרסת פייתון FROM python:3.10 WORKDIR /code # התקנת ffmpeg שחובה עבור Whisper RUN apt-get update && apt-get install -y ffmpeg # התקנת הספריות שלנו COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # העתקת קוד האפליקציה לשרת COPY . /code # Hugging Face תמיד דורש להריץ את השרת על פורט 7860 CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]