Dockerfile for Vue JS project ,launching page using .html

Hi everyone,
i created dockerfile for my vue js project and i tried to open in browser, but it showing blank page, (for exam: when we try www.localhost.com/login , it should show login page but for me it showing blank page. But when i try www.localhost.com/login.html its able to show the login page).
my question usually when we dockerize applicaiton it should able to host the applicaiton page, if possible please let me know why my application not able to host without .html.

It’s not related to docker, search for the redirection rules and how to redirect login to login.html