Assets hash is different in the browser and build output

Upon updating the docker images, the assets generated by the ‘bench build —production’ command have a different file name than those that are being loaded by the browser. This causes the site to load without the CSS and renders the ERP unusable.

bench build: bundle.{random-1}.css
browser loads: bundle.{random-2}.css

Please guide.

Same issue. Is there anyone who has come up with a solution to this problem?

You need to build custom image with custom apps

1 Like