From d80ae2598005d1723a8b7c70dda3eb397e8dcaf9 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Tue, 31 Mar 2020 17:12:26 +0200 Subject: [PATCH] Fixed cd PATH. --- create.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create.sh b/create.sh index f5a7bdc..87e4cb7 100755 --- a/create.sh +++ b/create.sh @@ -40,8 +40,8 @@ done # --force-recreate is used to recreate container when crontab file has changed unset VERSION_PROXY -DIRECTORY=$(pwd) -cd ~/build/docker-reverse-proxy; export VERSION_PROXY=$(git show-ref --head| head -1 | cut -f 1|cut -c -10); cd $DIRECTORY +cd ~/build/docker-reverse-proxy; export VERSION_PROXY=$(git show-ref --head| head -1 | cut -f 1|cut -c -10) +cd $SCRIPTPATH sudo docker build -t reverse-proxy:$VERSION_PROXY ~/build/docker-reverse-proxy