-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun.sh
executable file
·21 lines (19 loc) · 931 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
if [ ! -d ~/Desktop/CellOrganizer-Docker ]; then
DIRECTORY=$(pwd)
####################################################################################################
# icaoberg - this creates temporary folder on Desktop
mkdir -p ~/Desktop/CellOrganizer-Docker
chmod a+rwx -R ~/Desktop/CellOrganizer-Docker
cd ~/Desktop/CellOrganizer-Docker
####################################################################################################
cd $DIRECTORY
fi
############################################################################################################
docker run --rm -p 8888:8888 \
-v ~/Desktop/CellOrganizer-Docker:/home/murphylab/cellorganizer/local \
--memory="4g" \
--cpus=2 \
-e JUPYTER_LAB_ENABLE=yes \
murphylab/cellorganizer-jupyter:dev
############################################################################################################