FROM nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y install python-pip python3-pip
RUN apt-get -y install wget curl
RUN apt-get -y install python3.8
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
RUN python3 -m pip install -U pip
RUN python3 -V
COPY ./requirements.txt /tmp
RUN pip3 install -r /tmp/requirements.txt
VOLUME /app