Make sure to be in the same folder as 'docker-compose.yml' file before pull & up -d

This commit is contained in:
F0x06 2023-02-11 21:18:55 +01:00
parent 96a8eda1cb
commit 0dfc8ca04f

View File

@ -165,6 +165,7 @@ if [ -n "$GotUpdates" ] ; then
else
ComposeFile="$ContPath/$ContConfigFile"
fi
cd "$(dirname "${ComposeFile}")"
$DockerBin -f "$ComposeFile" pull "$ContName"
$DockerBin -f "$ComposeFile" up -d "$ContName"
done