mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-15 07:48:14 +01:00
Make sure to be in the same folder as 'docker-compose.yml' file before pull & up -d
This commit is contained in:
parent
96a8eda1cb
commit
0dfc8ca04f
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue