add launchscript

This commit is contained in:
churl
2022-01-20 23:16:51 +01:00
parent 075fc308d6
commit 758952d7e0
2 changed files with 5 additions and 0 deletions

View File

@ -4,3 +4,5 @@ When running a docker container an ".env"-file can be loaded with "--env-file .e
When run locally the quiz should be located in the same directory as the script.
When run from a docker container the folder containing the quiz should be mountet to "/quiz/" inside the container with "-v folder:/quiz".
docker run -d --env-file .env --mount src=/root/QuizBot/quizes,target=/quiz,type=bind registry.gitlab.com/churl/quizbot:latest