# Use official Python image FROM python:3.9 # Set working directory WORKDIR /app # Copy project files COPY . /app # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose Flask port EXPOSE 7860 # Run Flask app CMD ["python", "app.py"] RUN apt-get update && apt-get install -y ffmpeg