foam-template/publish/dockerhub_run.sh
2022-06-27 20:03:24 +04:30

7 lines
No EOL
249 B
Bash
Executable file

FILE=Gemfile.lock
if [ -f "$FILE" ]; then
rm $FILE
fi
docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
-it amirpourmand/foam-template bundler \
exec jekyll serve --watch --port=8080 --host=0.0.0.0