refactor to make session handling more automatic
This commit is contained in:
parent
f4cf26a33e
commit
476f3d7a49
3 changed files with 48 additions and 23 deletions
|
|
@ -3,12 +3,14 @@
|
|||
image=$(cat "$RUN_DIR"/.dockerimage)
|
||||
tag=latest
|
||||
|
||||
pubport=8765
|
||||
|
||||
set -x
|
||||
|
||||
exec docker run --init --name dumpr-quiz-ws \
|
||||
--rm \
|
||||
--read-only \
|
||||
--label org.dumpr.quiz.service=ws \
|
||||
-p 8765:8765 \
|
||||
-p "$pubport":8765 \
|
||||
-v "$RUN_DIR":/var/quiz:ro \
|
||||
"$image":"$tag"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue