Strapi Aws CodePipeline deployment

System Information
  • Strapi Version: “4.14.2”
  • Operating System: “Linux”
  • Database: postgress
  • Node Version: v18.19.1
  • NPM Version: 10.2.4
  • Yarn Version:

I want to deploy strapi using AWS code pipeline, codebuild, code deploy. Now I am confused about one thing, the build folder that codebuild will generate. How will I run that build folder on the server after code deploy will deploy it? I would not want to npm install on the server the whole point of using code build is to build separately and only start the project when it reaches the server. So in short my question is how can i run the strapi project using the build folder. I have tried to run the build folder locally by directly running the index.html file using the live server and also tried using serve but in both cases i get a blank strapi admin page.