From 188aca58ce317010e041fc0ddcba518181891096 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 1 Aug 2022 16:33:37 -0600 Subject: [PATCH] Update run.sh --- run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 35db4f1..de58d35 100755 --- a/run.sh +++ b/run.sh @@ -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