@Adrian Capdefier Apologies for the delay in response and all the inconvenience caused because of the issue.
If you have a pinger style app, or if you use an external service to intermittently ping the app, that will keep the app up and running.
Given you are running on a B2 instance (Basic 2), it can take a while to expand all of the layers needs to startup the container. The Basic tier (and the Standard tier as well) are not high-powered VM instances. Though at least in Standard tier there is an AlwayOn option that can be turned “on”, in which case the App Service platform will automatically handle pinging the app to keep it up and running.
Hope it helps!!!
Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.