# Use Python base image FROM python:3.10 # Set working directory WORKDIR /home/user/app # Install system dependencies RUN apt-get update && apt-get install -y \ git \ ffmpeg \ libsm6 \ libxext6 \ && rm -rf /var/lib/apt/lists/* # Install Python dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy app files COPY . . # Run the app CMD ["python", "app.py"]