launch into bash

This commit is contained in:
Paul Gauthier 2024-06-05 10:30:02 -07:00
parent 9ff44cbf39
commit af84441715
2 changed files with 5 additions and 3 deletions

View file

@ -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" ]

View file

@ -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 \