From bf7315e61d6bf1de7ead85de35f543b7e99b272c Mon Sep 17 00:00:00 2001 From: Christoph Schranz Date: Tue, 25 Feb 2020 08:40:59 +0100 Subject: [PATCH] Adding demo notebooks --- data/.gitkeep | 0 generate_Dockerfile.sh | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 data/.gitkeep diff --git a/data/.gitkeep b/data/.gitkeep old mode 100644 new mode 100755 diff --git a/generate_Dockerfile.sh b/generate_Dockerfile.sh index f9925d7..4a0e73f 100755 --- a/generate_Dockerfile.sh +++ b/generate_Dockerfile.sh @@ -30,7 +30,6 @@ cp $STACKS_DIR/base-notebook/start.sh .build/ cp $STACKS_DIR/base-notebook/start-notebook.sh .build/ cp $STACKS_DIR/base-notebook/start-singleuser.sh .build/ chmod 755 .build/* -chmod -R 755 data/ echo " ############################################################################ @@ -71,7 +70,9 @@ echo " " >> $DOCKERFILE cat src/Dockerfile.usefulpackages >> $DOCKERFILE -# Copy the content from the build directory to . +# Copy the demo notebooks and change permissions +cp -r extra/Getting_Started data +chmod -R 755 data/ #cp $(find $(dirname $DOCKERFILE) -type f | grep -v $STACKS_DIR | grep -v .gitkeep) . echo "GPU Dockerfile was generated sucessfully in file ${DOCKERFILE}."