I am facing the same problem, saying my node js port 3000 can not be ping so the container exit even I have done following
Use the EXPOSE instruction in your Dockerfile to expose port 3000.
Use the WEBSITES_PORT app setting with a value of "3000" to expose that port.
have seen many other posts out there suggesting same solution, but setting WEBSITES_PORT does not work. My image works perfectly locally..
2021-08-14T23:01:18.250Z INFO - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2021-08-14T23:01:20.821Z INFO - Initiating warmup request to container xxxx for site xxxx
2021-08-14T23:01:20.832Z INFO - Container xxxxx for site xxxx initialized successfully and is ready to serve requests.
2021-08-14T23:01:20.832Z INFO - Initiating warmup request to container xxx for site xxx
2021-08-14T23:01:21.875Z ERROR - Container xxx for site xxx has exited, failing site start
2021-08-14T23:01:21.877Z ERROR - Container xxx didn't respond to HTTP pings on port: 3000, failing site start. See container logs for debugging.
2021-08-14T23:01:21.889Z INFO - Stopping site xxx because it failed during startup.