Install the Composer Vendor on the server.
Install node modules -> and create the build file using the command: npm run build
So it will create the build files in the public dir.
Access the files from the public folder for the live domain. Hope it will work.
Also, you can addan .htaccess file, which will access the files from public/index.php