Skip to content
Snippets Groups Projects
Select Git revision
  • 3b51fc2c5e06e35a8058bf1a6ac67b38c5f2e25f
  • main default
  • wip/sjoerd/qos
3 results

run-hugo.sh

Blame
  • Forked from lava / docs
    Source project has a limited visibility.
    run-hugo.sh 314 B
    #!/bin/sh
    
    # Run hugo in server mode and let it bind on all interface in the container
    # such that docker can forward it properly.
    
    REPO=$(dirname $(realpath $0))
    
    docker run \
      -p 1313:1313/tcp \
      -w /docs \
      -u $(id -u) \
      -v ${REPO}:/docs \
      registry.gitlab.com/pages/hugo:latest \
      hugo server --bind ""