How to create Docker images and copy content from different repo source within github

Hi,

Any advice will be of great help. I am trying to create an Docker image for my fastapi (python) backend app which requires build content from my react frontend app, I have 2 seperate repos in github for Frontend and Backend. How can i proceed?

Regards,
Aravind