Loading module from “URL/chunk-TWQM45PI.js” was blocked because of a disallowed MIME type (“text/html”)

I am trying to dockerise an angular application and deploy it to K8’s, once I load my page I get these errors for all chunks, these files reside in the same folder as index.html, I am trying with nginx server.

enter image description here

I tried various solutions reccomended online but no luck.