FROM python:3.10 # Install ffmpeg terlebih dahulu RUN apt-get update && apt-get install -y ffmpeg WORKDIR /code COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # Jalankan uvicorn di port 7860 (port wajib Hugging Face) CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]