-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
46 lines (39 loc) · 1.12 KB
/
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
39
40
41
42
43
44
45
46
FROM pytorch/pytorch:1.4-cuda10.1-cudnn7-devel
RUN pip install --upgrade pip && \
pip install \
numpy \
setuptools \
pyyaml \
opencv-python \
tensorflow-gpu \
Pillow \
h5py \
keras \
matplotlib \
pandas \
pydicom \
scikit-image \
scikit-learn \
scipy \
seaborn \
tensorboard \
tensorboardX \
tensorflow \
tensorflow-estimator \
tqdm \
nibabel
RUN pip install monai
RUN pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
# copy files
RUN mkdir /workspace/mood && \
mkdir /workspace/configs && \
mkdir /workspace/data
COPY submission_data/data /workspace/data
COPY submission_data/configs /workspace/configs
ADD submission_data/scripts /workspace/
COPY mood /workspace/mood/mood
ADD setup.py /workspace/mood
RUN pip install /workspace/mood
RUN chmod +x /workspace/*.sh && \
mkdir /mnt/data && \
mkdir /mnt/pred