FROM python:3.11.1-bullseye COPY . /app RUN chmod -R 777 /app WORKDIR /app RUN apt update && apt install ffmpeg -y RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt RUN python3 -m pip install -U --no-cache-dir pip setuptools wheel RUN python3 -m pip install --force-reinstall --no-cache-dir https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz CMD ["python", "app.py"]