Docker Composer 오류 해결하기 – services.server.build contains unsupported option: ‘image’

아래와 같이 docker-composer 실행하면 바로 에러가 뜨는 경우가 있는데요.

ERROR: The Compose file './docker-compose.yml' is invalid because:
services.server.ports contains an invalid type, it should be an array
services.server.build contains unsupported option: 'image'
더 보기 “Docker Composer 오류 해결하기 – services.server.build contains unsupported option: ‘image’”