FROM python:3 WORKDIR /usr/src/app COPY requirements.txt ./ RUN python -m pip install --upgrade pip setuptools wheel RUN apt-get update -y RUN apt-get install -y python3-libtorrent RUN apt-get install -y ffmpeg RUN pip install -r requirements.txt COPY . . EXPOSE 7860 CMD ["python","./manage.py","runserver","0.0.0.0:7860"]