FROM python:3 WORKDIR /usr/src/app COPY requirements.txt ./ RUN apt-get install python3-libtorrent RUN apt-get install libtorrent-rasterbar-dev RUN pip install -r requirements.txt COPY . . EXPOSE 7860 CMD ["python","./manage.py","runserver","0.0.0.0:7860"]