Merge pull request #16 from F0x06/relative_path_cd
cd to the compose-file directory before bringing the container up.
This commit is contained in:
commit
555e472528
@ -165,6 +165,7 @@ if [ -n "$GotUpdates" ] ; then
|
|||||||
else
|
else
|
||||||
ComposeFile="$ContPath/$ContConfigFile"
|
ComposeFile="$ContPath/$ContConfigFile"
|
||||||
fi
|
fi
|
||||||
|
cd "$(dirname "${ComposeFile}")"
|
||||||
$DockerBin -f "$ComposeFile" pull "$ContName"
|
$DockerBin -f "$ComposeFile" pull "$ContName"
|
||||||
$DockerBin -f "$ComposeFile" up -d "$ContName"
|
$DockerBin -f "$ComposeFile" up -d "$ContName"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user