fix: build from image and extends conflict

This commit is contained in:
wolfyeva 2022-05-18 20:59:30 +08:00
parent e630bb034c
commit 1c82643dca
2 changed files with 0 additions and 2 deletions

View file

@ -1,6 +1,5 @@
services: services:
web: web:
build: .
depends_on: depends_on:
- db - db
- redis - redis

View file

@ -155,7 +155,6 @@ from compose_viz.extends import Extends
('tests/in/001010.yaml',Compose([ ('tests/in/001010.yaml',Compose([
Service( Service(
name='web', name='web',
image='build from .',
depends_on=['db','redis'], depends_on=['db','redis'],
extends=Extends(service_name='redis'), extends=Extends(service_name='redis'),
), ),