pixelfed/docker/dottie
Christian Winther 193d536ca1 update dottie
2024-02-22 14:54:20 +00:00

17 lines
325 B
Bash
Executable file

#!/bin/bash
declare project_root="${PWD}"
if command -v git &>/dev/null; then
project_root=$(git rev-parse --show-toplevel)
fi
exec docker run \
--rm \
--interactive \
--tty \
--volume "${project_root}:/var/www" \
--volume "/tmp:/tmp" \
--workdir /var/www \
ghcr.io/jippi/dottie \
"$@"