Skip to content

Commit 0fd00d0

Browse files
committed
Add script to build and start (or restart) docker container
1 parent 1eac7e7 commit 0fd00d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
docker build -t rse_department_survey:latest .
2+
docker stop rse_department_survey 2> /dev/null
3+
umount submissions
4+
docker rm rse_department_survey 2> /dev/null
5+
mount -o loop submissions.volume submissions
6+
docker run -d --restart unless-stopped --name rse_department_survey -p 9000:8014 -v "$(pwd)/submissions:/script/submissions" rse_department_survey:latest

0 commit comments

Comments
 (0)