From 019efc3c64dd587056c18936debfbe807708a68d Mon Sep 17 00:00:00 2001 From: cyremur Date: Wed, 12 Feb 2020 20:02:47 +0100 Subject: [PATCH] add Dockerfile --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ede9c02 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM nvidia/cuda:10.2-cudnn7-devel +RUN apt update +RUN apt install python3 python3-pip -y +RUN pip3 install torch torchvision +RUN pip3 install numpy opencv-python +RUN apt install libsm6 libxext6 libxrender-dev -y +RUN ln -s /usr/bin/python3 /usr/bin/python +RUN ln -s /usr/bin/pip3 /usr/bin/pip