java-tutorials/docker-modules/docker-compose/rebuild-container/docker-compose-with-depende...

10 lines
168 B
YAML

version: "3.9"
services:
ubuntu:
image: "ubuntu:latest"
tty: true
depends_on:
- "alpine"
alpine:
image: "alpine:latest"
tty: true