- #!/bin/bash
- #set -x
- echo $(date)
- WORKSPACE=$(cd $(dirname $0)/..; pwd)
- #echo "workspace:$WORKSPACE"
- cd $WORKSPACE
- #docker stop gitbook
- docker rm gitbook
- 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
|