Put it in a docker

This commit is contained in:
Nick Sellen
2018-11-30 11:45:48 +00:00
committed by Nick Sellen
parent ef6e94d08a
commit d9e3246c27
4 changed files with 29 additions and 2 deletions

12
dev Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -eu
docker run --rm -it \
-v $(pwd):/src \
-p 4000:4000 \
ruby:2.5.3 sh -c '
cd /src &&
bundle --path vendor &&
bundle exec jekyll serve --host 0.0.0.0 --port 4000
'