listenbrainz-server
listenbrainz-server copied to clipboard
Split production image into multiple stages
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.