I have a spring boot rest API service that is running in tomcat.
I have a NextJS UI app running on the node js server.
Now I want my NextJs app to be served by the tomcat server.
What are the necessary steps I need to do for my nextjs app to be served by spring boot static folder?