Azurerm_linux_web_app

Hi everyone
I’m trying to deploy an azure WebApp for Containers and have no idea about how to pass the docker image and also the env variables to it. Everywhere I found the information was related to azurerm_app_service but as it is stated on terraform registry that resource has been deprecated and azurerm_linux_web_app should be used instead.
So could anyone help with advice on where exactly should I pass these two?
THanks in advance