compose.yml file, which looks like this:
compose.yml
version: \'2\' services: discovery-microservice: build: discovery-microservice context: /discov
check for the space between
ports:
- _space_ "8080:8080"