Starting up the API container for the first time always triggers a download that is most likely connected to some of the connected libraries (possibly parts of the BERT model). Because this download only happens once, it does not slow down the continuous usage of that container significantly. But when frequently rebuilding the container (e.g., when performing GitHub actions for testing), this becomes an issue. Hence, identify how to move this download from the API container into the dev container.
Starting up the API container for the first time always triggers a download that is most likely connected to some of the connected libraries (possibly parts of the BERT model). Because this download only happens once, it does not slow down the continuous usage of that container significantly. But when frequently rebuilding the container (e.g., when performing GitHub actions for testing), this becomes an issue. Hence, identify how to move this download from the API container into the dev container.