From e16751b0c434289b3c70206d4da288fecde6f0b3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 14 Sep 2019 21:57:54 +0200 Subject: [PATCH] create out directory in start script to fix permission errors --- jekyll-admin_run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/jekyll-admin_run.sh b/jekyll-admin_run.sh index 4c27407..1be29e4 100755 --- a/jekyll-admin_run.sh +++ b/jekyll-admin_run.sh @@ -2,4 +2,5 @@ BASE_D=$(realpath "${BASH_SOURCE%/*}/") JEKYLL_VERSION=3.8 +mkdir "$BASE_D/out" exec sudo docker run --name realraum-jekyll --rm -it -p 127.0.0.1:4000:4000 --volume="$BASE_D/vendor/bundle:/usr/local/bundle" -v "$BASE_D/src":/srv/jekyll -v "$BASE_D/out":/srv/out jekyll/jekyll:$JEKYLL_VERSION "$@" -- 1.7.10.4