Azure App Service Container keeps on restarting

I created an azure app Service running a docker container.

but the container seems to be restarting all the time:
2020-01-09 07:21:56.543 INFO – Container XXX for site xxx initialized successfully and is ready to serve requests.
2020-01-09 07:22:01.559 ERROR – Container for xxx site xxx is unhealthy, Stopping site.
2020-01-09 07:22:01.559 INFO – Stoping site xxx because it is not healthy.

As it is a ressource intensive application it can be that the Service is not responding quickly.

i already tried to add the following Setting:

“value”: “Off”,
“slotSetting”: false

but with no effect.

Source: StackOverflow