Getting myself started with Docker and Python and following a textbook I bought. Running into this error but I thought I had my indentation correct. The answers to the other questions are all about indentation and I can see the indentation error in other questions but yeah I thought mine was right so not sure what else I’m doing wrong.
version: '3.8'
services:
build:
.
ports:
- "5000:5000"
tty:
true
errors:
PS C:UsersMattDesktopflask-docker-test> docker compose up
services.ports must be a mapping
PS C:UsersMattDesktopflask-docker-test> docker compose up
services.tty must be a mapping
PS C:UsersMattDesktopflask-docker-test> docker compose up
services.build must be a mapping