docker-compose wait for container to finish code example
Example: docker compose service wait for forever
version: '3'
services:
app:
image: node:8
tty: true # <-- This option
version: '3'
services:
app:
image: node:8
tty: true # <-- This option