Update run.sh

This commit is contained in:
Neale Pickett 2022-08-01 16:33:37 -06:00
parent 8b5147da34
commit 188aca58ce
1 changed files with 2 additions and 1 deletions

3
run.sh
View File

@ -1,3 +1,4 @@
#! /bin/sh
docker run --rm --net=host -v $(pwd):/srv/jekyll -u $(id -u):$(id -g) jekyll/jekyll:minimal /usr/gem/bin/jekyll s --host 0 "$@"
cd $(dirname $0)
docker run --rm -it -v $(pwd):/srv/jekyll -p 4000:4000 -e JEKYLL_UID=1000 -e JEKYLL_GID=1000 jekyll/jekyll jekyll build --watch