Cannot run my appliation built with streamlit in docker

Hi all, happy new year!

I recently develop a dashboard using streamlit(python). All the function was good when I was running locally. But after I packed them all as a docker image and try to load them, the function disapeared. For example, the application could upload files and demonstrate some charts automatically. In the container the interface is good, however, could not illustrate the charts after upload files.(the interface could be seen as the following image)

Any thoughts would be okay! Thank you!