java-tutorials/docker-modules/docker-compose/latest-image/docker-compose-build-image....

9 lines
105 B
YAML

version: '2.4'
services:
db:
image: postgres
my_app:
build: .
ports:
- "8080:8080"