@Niraj It seems like you are having an issue with your Django app container not responding to HTTP pings on port 8080 when running on Azure Web App.
Based on the error message, it seems like Azure Web App is trying to ping your container on port 8080 but is not receiving a response. This could be due to a few reasons:
- Your container is not listening on port 8080: Make sure that your Django app is listening on port 8080 inside the container. You can check this by running the container locally and making a request to http://localhost:8080. If you get a response, then your app is listening on port 8080.
- Your container is not starting correctly: Make sure that your container is starting correctly by checking the logs. You can do this by running the following command:
docker logs <container-id>
This will show you the logs for your container and should give you an idea of what is going wrong.
Once you have made sure that your container is listening on port 8080 and is exposing the port correctly, you can try running the container locally again and making a request to http://localhost:8080 to make sure that everything is working correctly. If it is, then you can try deploying the container to Azure Web App again.