Browse Source

Fixing the script for running the docker image locally

Kirk Trombley 5 years ago
parent
commit
c0565cde86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rollbot-docker.sh

+ 1 - 1
rollbot-docker.sh

@@ -61,7 +61,7 @@ case $1 in
         echo "Building rollbot3 image as rollbot3:latest"
         docker build -t rollbot3:latest .
         echo "Executing new container $CONTAINER_NAME using rollbot3:latest"
-        docker run -p6070:6070 --name $CONTAINER_NAME -d rollbot3
+        docker run -p6070:6070 -v ./config:/rollbot-config --name $CONTAINER_NAME -d rollbot3
         echo "Rollbot endpoint accessible at http://localhost:6070/rollbot"
     ;;
     "c"|"clean")