#!/bin/bash #set -x echo $(date) WORKSPACE=$(cd $(dirname $0)/..; pwd) #echo "workspace:$WORKSPACE" cd $WORKSPACE docker stop usky-book docker rm usky-book docker run -d --name usky-book -p 4001:4000 -v $(pwd):/srv/gitbook -v $(pwd)/.html:/srv/html fellah/gitbook docker logs -f --tail=100 gitbook