This commit is contained in:
churl
2022-01-20 23:22:40 +01:00
parent 758952d7e0
commit 66f6669322

View File

@ -5,4 +5,4 @@ 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 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". 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 docker run -d --env-file .env --mount src=/root/QuizBot/quizes,target=/quiz,type=bind --name quizbot registry.gitlab.com/churl/quizbot