fixed permission change directory

This commit is contained in:
Christoph Schranz 2020-02-23 13:50:04 +01:00
parent 1937e707be
commit 01c8e6c896

View File

@ -29,7 +29,7 @@ cp $STACKS_DIR/base-notebook/fix-permissions .build/
cp $STACKS_DIR/base-notebook/start.sh .build/ cp $STACKS_DIR/base-notebook/start.sh .build/
cp $STACKS_DIR/base-notebook/start-notebook.sh .build/ cp $STACKS_DIR/base-notebook/start-notebook.sh .build/
cp $STACKS_DIR/base-notebook/start-singleuser.sh .build/ cp $STACKS_DIR/base-notebook/start-singleuser.sh .build/
chmod 755 $STACKS_DIR/*.sh chmod 755 .build/*.sh
echo " echo "
############################################################################ ############################################################################
@ -79,5 +79,5 @@ cat src/Dockerfile.usefulpackages >> $DOCKERFILE
# Copy the content from the build directory to . # Copy the content from the build directory to .
#cp $(find $(dirname $DOCKERFILE) -type f | grep -v $STACKS_DIR | grep -v .gitkeep) . #cp $(find $(dirname $DOCKERFILE) -type f | grep -v $STACKS_DIR | grep -v .gitkeep) .
echo "GPU Dockerfile was generated sucessfully in file ${DOCKERFILE} and copied with build files to $(pwd)" echo "GPU Dockerfile was generated sucessfully in file ${DOCKERFILE}."
echo "Run 'bash run_Dockerfile.sh -p [PORT]' to start the GPU-based Juyterlab instance." echo "Run 'bash run_Dockerfile.sh -p [PORT]' to start the GPU-based Juyterlab instance."