# Use official Python image FROM python:3.10-slim # Set working directory WORKDIR /app # Install dependencies COPY requirements.txt . RUN apt-get update && apt-get install -y ffmpeg git && \ pip install --no-cache-dir -r requirements.txt # Copy app files COPY . . # Expose port (Hugging Face expects port 7860) EXPOSE 7860 # Run the app CMD ["python", "app.py"]