Explorar el Código

Fixing the script for running the docker image locally

Kirk Trombley hace 5 años
padre
commit
c0565cde86
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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")