Receiving error while running docker image

Receiving the below error while doing docker-compose up

CentOS Linux 8 - AppStream                      133  B/s |  38  B     00:00
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
ERROR: Service 'product-services' failed to build: The command '/bin/sh -c yum -y install python3' returned a non-zero code: 1

It is not able to download centos image.

Can you paste content of your Dockerfile?