forked from HUFS-AIMLAB/PAIP2021-Challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (31 loc) · 977 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-devel
ADD . .
RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
RUN apt-get update
RUN apt-get install -y wget \
python3-pip \
curl \
htop \
vim \
git \
tree
RUN apt-key del 7fa2af80
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
RUN dpkg -i cuda-keyring_1.0-1_all.deb
RUN apt-get install -y openslide-tools
RUN apt-get install -y python-openslide
RUN apt-get install ffmpeg libsm6 libxext6 -y
RUN pip install openslide-python && \
pip install jupyter notebook && \
pip install matplotlib && \
pip install seaborn && \
pip install timm && \
pip install segmentation-models-pytorch && \
pip install albumentations && \
pip install monai && \
pip install tqdm && \
pip install pillow && \
pip install opencv-python && \
pip install scikit-image
EXPOSE 8888