Skip to content

Commit 13308b3

Browse files
committed
add Dockerfile and 'let jovyan write' script
1 parent b53b987 commit 13308b3

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Details of the base image are here: hub.docker.com/r/jupyter/scipy-notebook
2+
# Tag [29f53f8b9927] is latest image as of Apr 23, 2020
3+
4+
FROM jupyter/scipy-notebook:29f53f8b9927
5+
6+
MAINTAINER Jon Krohn <[email protected]>
7+
8+
USER $NB_USER
9+
10+
# Install TensorFlow:
11+
RUN pip install tensorflow==2.2.0rc3
12+
13+
# Install PyTorch:
14+
RUN pip install torch==1.4.0

installation/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Nothing in this installation directory matters at this time. Feel free to ignore, including anything in this file.
2+
3+
Step 9: `sudo docker run -v $(pwd):/home/jovyan/work -it --rm -p 8896:8888 mlf-stack`

installation/let_jovyan_write.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# script that provides jovyan, the default Docker container username, permission to write to the directory
2+
sudo chgrp -R 100 ML-foundations/
3+
sudo chmod -R g+w ML-foundations/ #to recursively change permissions so jovyan can write to the directory

0 commit comments

Comments
 (0)