diff --git a/docker_update.py b/docker_update.py index 06f83f2..5a41868 100644 --- a/docker_update.py +++ b/docker_update.py @@ -22,7 +22,7 @@ for line in lines: continue fullpath = os.path.join(path, s) if os.path.isdir(fullpath) and ("docker-compose.yml" in os.listdir(fullpath)): - fullpath = os.path.join(fullpath, "docker compose.yml") + fullpath = os.path.join(fullpath, "docker-compose.yml") print("========= Processing " + fullpath + " =========") print(subprocess.check_output("docker compose -f " + fullpath + " pull", shell=True, stderr=subprocess.STDOUT).decode()) print(subprocess.check_output("docker compose -f " + fullpath + " up -d", shell=True, stderr=subprocess.STDOUT).decode())