diff --git a/pull-and-update.sh b/pull-and-update.sh new file mode 100755 index 0000000..7052113 --- /dev/null +++ b/pull-and-update.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -e + +# https://stackoverflow.com/a/1482133/270712 +MYDIR=dirname -- "$( readlink -f -- "$0"; )"; +pushd "$MYDIR" +git pull +docker compose up build +popd