Where and when to build the supergraph with Rover CLI?

Hello guys,

my current setup is an Apollo API Gateway (apollo-server, @apollo/gateway, apollo-server-core) within docker container, where the entrypoint uses rover CLI (v0.6.0) to compose the supergraph but if one of the services is not available during this first execution, it will fail to start. How do you solve this issue? Do you use CI/CD pipeline to build the supergraph in advance so the gateway could start right away or even another approach except for apollo studio?

Best