diff --git a/docker/dottie b/docker/dottie new file mode 100755 index 000000000..bd268a070 --- /dev/null +++ b/docker/dottie @@ -0,0 +1,16 @@ +#!/bin/bash + +declare root="${PWD}" + +if command -v git &>/dev/null; then + root=$(git rev-parse --show-toplevel) +fi + +exec docker run \ + --rm \ + --interactive \ + --tty \ + --volume "${root}:/var/www" \ + --workdir /var/www \ + ghcr.io/jippi/dottie \ + "$@"