Problem with ShinyProxy and Flask App


I am already using ShinyProxy with R for my apps and it works perfectly. Now I wanted to extend my app with additional features that are written in python (Flask). I have tried the basic flask app which is in the tutorial and it integrates with other R apps perfectly but my flask app contains HTML files in the template folder and not able to make it run in the server.

I have attached the error and also my docker file.

The error says timeout error:

Hoping for a possible solution or suggestion where I am making the mistake!!

My Docker image looks like:

And my shinyproxy yml looks like:

For clear pic of the error: