You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

12 lines
261 B

  1. #! /usr/bin/sh
  2. HUGO_VERSION=${HUGO_VERSION:=0.54.0}
  3. docker run -it \
  4. -e HUGO_WATCH=true \
  5. -e HUGO_THEME=pure \
  6. -e HUGO_BASEURL=http://localhost:1313/ \
  7. -e HUGO_DESTINATION=/src/public \
  8. -v ${PWD}:/src:Z \
  9. -p 1313:1313 \
  10. sothr.com/hugo:$HUGO_VERSION $@