|
a |
|
b/Dockerfile |
|
|
1 |
## start with the Docker 'base Tensorflow1.4 for python3' Debian-based image |
|
|
2 |
|
|
|
3 |
#FROM tensorflow/tensorflow:1.6.0-py3 |
|
|
4 |
FROM tensorflow/tensorflow:1.6.0-gpu-py3 |
|
|
5 |
#FROM tensorflow/tensorflow:latest-gpu-py3 |
|
|
6 |
##Install custom libraries |
|
|
7 |
|
|
|
8 |
RUN apt-get update && apt-get install -y --no-install-recommends \ |
|
|
9 |
python3-tk |
|
|
10 |
|
|
|
11 |
# install dependencies from python packages |
|
|
12 |
RUN pip3 --no-cache-dir install \ |
|
|
13 |
pandas==0.21.0\ |
|
|
14 |
scikit-learn==0.19.1 \ |
|
|
15 |
scipy==1.1.0\ |
|
|
16 |
scikit-image==0.15.0 \ |
|
|
17 |
SimpleITK==1.1.0 \ |
|
|
18 |
nibabel==2.2.1 \ |
|
|
19 |
keras==2.2.4 \ |
|
|
20 |
numpy==1.15.4 |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
## Copying application code (present working directory) and configuration to docker image |
|
|
27 |
COPY ./tool /tool |
|
|
28 |
WORKDIR "/tool" |
|
|
29 |
RUN bash /tool/bash_profile |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
ENTRYPOINT ["python3","./run_FatSegNet.py"] |
|
|
33 |
|