diff --git a/scripts/Dockerfile.jekyll b/scripts/Dockerfile.jekyll index 6f5c01087..f925973ec 100644 --- a/scripts/Dockerfile.jekyll +++ b/scripts/Dockerfile.jekyll @@ -12,5 +12,7 @@ RUN bundle install --retry 5 --jobs 20 ENTRYPOINT [ "docker-entrypoint.sh" ] +# bundle exec jekyll serve --force_polling -H 0.0.0.0 -P 4000 CMD [ "bundle", "exec", "jekyll", "serve", "--force_polling", "-H", "0.0.0.0", "-P", "4000" ] + diff --git a/scripts/jekyll_run.sh b/scripts/jekyll_run.sh index f1b85cb7f..f3497168f 100755 --- a/scripts/jekyll_run.sh +++ b/scripts/jekyll_run.sh @@ -5,8 +5,8 @@ docker run \ --rm \ -v "$PWD:/site" \ -p 4000:4000 \ + -e HISTFILE=/site/.bash_history \ + --entrypoint /bin/bash \ + -it \ my-jekyll-site -# -e HISTFILE=/srv/jekyll/.bash_history \ -# --entrypoint /bin/bash \ -# -it \