-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
54 lines (42 loc) · 1.3 KB
/
Dockerfile
File metadata and controls
54 lines (42 loc) · 1.3 KB
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
47
48
49
50
51
52
53
54
FROM tensorflow/tensorflow:latest-gpu-py3
#FROM tensorflow/tensorflow:1.0.0-gpu-py3
# Removing some notebook which caused confusion
RUN rm /notebooks/1_hello_tensorflow.ipynb
RUN rm /notebooks/2_getting_started.ipynb
RUN rm /notebooks/3_mnist_from_scratch.ipynb
MAINTAINER oliver duerr <dueo@zhaw.ch>
RUN pip --no-cache-dir install \
ipykernel \
jupyter \
matplotlib \
pandas \
h5py \
# keras \
tflearn \
ggplot
# RUN pip --no-cache-dir install tflearn
# RUN pip install git+https://github.com/tflearn/tflearn.git
# RUN pip install keras
RUN sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list'
RUN gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
RUN gpg -a --export E084DAB9 | apt-key add -
RUN apt-get update && apt-get install -y git
RUN apt-get -y install r-base
#RUN apt-get install libzmq3-de
RUN pip3 install rpy2
# Clean
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Default directory that will be saved by htcondor
#RUN mkdir /tmp/results
#RUN nvidia-smi -f /tmp/temp.txt
# COPY -> to copy files/data from to localmachine
COPY notebooks /notebooks
# TensorBoard
EXPOSE 6006
# IPython
EXPOSE 8888
WORKDIR "/notebooks"
COPY notebooks /notebooks
COPY run_jupyter_2.sh /
CMD ["/run_jupyter_2.sh"]