You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/docker/dottie

18 lines
325 B
Plaintext

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