listenbrainz-server icon indicating copy to clipboard operation
listenbrainz-server copied to clipboard

Split production image into multiple stages

Open amCap1712 opened this issue 2 years ago • 0 comments

To improve caching in image, split the JS files compilation into a separate build stage. For the final production image, copy over js files from the intermediate stages. This helps in cases when a python dependency is changed but the frontend code doesn't change.

amCap1712 avatar Oct 19 '22 11:10 amCap1712