# Start with the base image (Ubuntu in this case) FROM ubuntu:22.04 # Update apt repository and install necessary dependencies including ffmpeg RUN apt-get update && \ apt-get install -y --no-install-recommends \ ffmpeg \ python3 \ python3-pip && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* # Set the working directory WORKDIR /app # Copy all files into the Docker image COPY . /app # Install Python dependencies RUN pip3 install --upgrade pip && pip3 install -r requirements.txt --root-user-action=ignore RUN ls -la * /app