|
a |
|
b/Dockerfile |
|
|
1 |
# Base image with tensorflow and all the dependence of 4Dsurvival |
|
|
2 |
# lisurui6/4dsurvival-gpu:1.1 |
|
|
3 |
|
|
|
4 |
FROM pytorch/pytorch:1.6.0-cuda10.1-cudnn7-runtime |
|
|
5 |
|
|
|
6 |
RUN apt-get update && apt-get install -y build-essential git libjpeg-dev && \ |
|
|
7 |
apt-get install -y vim tmux curl |
|
|
8 |
|
|
|
9 |
RUN pip install --upgrade pip setuptools && pip install tensorflow && \ |
|
|
10 |
pip install --upgrade keras==2.2.2 lifelines==0.23.9 optunity matplotlib sklearn scipy pandas numpy pyhocon |
|
|
11 |
|
|
|
12 |
WORKDIR /root |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
COPY . /root/4Dsurvival |
|
|
16 |
|
|
|
17 |
RUN cd 4Dsurvival && python setup.py develop |