mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 22:43:18 +00:00
update dottie
This commit is contained in:
parent
f264dd1cbb
commit
193d536ca1
1 changed files with 4 additions and 3 deletions
|
@ -1,16 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
declare root="${PWD}"
|
||||
declare project_root="${PWD}"
|
||||
|
||||
if command -v git &>/dev/null; then
|
||||
root=$(git rev-parse --show-toplevel)
|
||||
project_root=$(git rev-parse --show-toplevel)
|
||||
fi
|
||||
|
||||
exec docker run \
|
||||
--rm \
|
||||
--interactive \
|
||||
--tty \
|
||||
--volume "${root}:/var/www" \
|
||||
--volume "${project_root}:/var/www" \
|
||||
--volume "/tmp:/tmp" \
|
||||
--workdir /var/www \
|
||||
ghcr.io/jippi/dottie \
|
||||
"$@"
|
||||
|
|
Loading…
Reference in a new issue