Use $DOKKU_ROOT instead of $HOME

This commit is contained in:
rhy-jot
2013-11-21 10:48:55 -08:00
parent cb781f9ce1
commit f4018db310
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
APP="$1"
IMAGE=app/"$1"
CACHE_DIR="$HOME/$APP/cache"
CACHE_DIR="$DOKKU_ROOT/$APP/cache"
docker run -v $CACHE_DIR:/cache $IMAGE find /cache -depth -mindepth 1 -maxdepth 1 -exec rm -Rf {} \;