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
1 year ago
declare project_root="${PWD}"
if command -v git &>/dev/null; then
1 year ago
project_root=$(git rev-parse --show-toplevel)
fi
exec docker run \
--rm \
--interactive \
--tty \
1 year ago
--volume "${project_root}:/var/www" \
--volume "/tmp:/tmp" \
--workdir /var/www \
ghcr.io/jippi/dottie \
"$@"