|
@@ -81,6 +81,7 @@ def command_compose_build(args): |
|
|
if not os.path.exists(args.filename):
|
|
|
if not os.path.exists(args.filename):
|
|
|
raise ValueError('File not found: ' + args.filename)
|
|
|
raise ValueError('File not found: ' + args.filename)
|
|
|
path, _ = os.path.split(args.filename)
|
|
|
path, _ = os.path.split(args.filename)
|
|
|
|
|
|
print('path:', path)
|
|
|
with open(args.filename, 'r') as f:
|
|
|
with open(args.filename, 'r') as f:
|
|
|
spec = yaml.safe_load(f)
|
|
|
spec = yaml.safe_load(f)
|
|
|
if 'volumes' in spec:
|
|
|
if 'volumes' in spec:
|
|
|