updating pull script to pull latest build of the container

This commit is contained in:
luke 2017-08-08 12:36:55 -07:00
parent bafbd21183
commit e4b719a460

View File

@ -4,6 +4,7 @@ docker rm -f dragon-bot
printf "[+] Done\n"
# Run that shit and mount the docker socket so it can talk to the sky-factory container
printf "\n[-] Starting up latest build of container\n"
docker run -d --name dragon-bot -v /var/run/docker.sock:/var/run/docker.sock --restart always ldooks/dragon-bot
printf "\n[-] Pulling latest build of container\n"
docker pull ldooks/dragon-bot:latest
docker run -d --name dragon-bot -v /var/run/docker.sock:/var/run/docker.sock --restart always ldooks/dragon-bot:latest
printf "[+] Done\n"