File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,37 @@ release: build
1010singularity : build
1111 singularity build shiny-base-${version} .sif docker-daemon://crukcibioinformatics/shiny-base:${version}
1212
13+ shell :
14+ mkdir -p logs lib/bookmarks/shiny apps
15+ chmod -R ugo+rwx lib logs
16+ docker run \
17+ --user shiny \
18+ --interactive \
19+ --tty \
20+ --rm \
21+ --entrypoint=bash \
22+ --volume ${PWD} /shiny-server.conf:/etc/shiny-server/shiny-server.conf \
23+ --volume ${PWD} /lib:/var/lib/shiny-server \
24+ --volume ${PWD} /logs:/var/log/shiny-server \
25+ --volume ${PWD} /apps:/srv/shiny-server/apps \
26+ crukcibioinformatics/shiny-base:${version}
27+
28+ start :
29+ rm -rf logs
30+ mkdir -p logs lib/bookmarks/shiny apps
31+ chmod -R ugo+rwx lib logs
32+ docker run \
33+ --user shiny \
34+ --detach \
35+ --rm \
36+ --name shiny_server \
37+ --publish 8080:3838 \
38+ --volume ${PWD} /shiny-server.conf:/etc/shiny-server/shiny-server.conf \
39+ --volume ${PWD} /lib:/var/lib/shiny-server \
40+ --volume ${PWD} /logs:/var/log/shiny-server \
41+ --volume ${PWD} /apps:/srv/shiny-server/apps \
42+ crukcibioinformatics/shiny-base:${version}
43+
44+ stop :
45+ docker stop shiny_server
46+
You can’t perform that action at this time.
0 commit comments