FIT3170-FY-Project-7 / RABIT-COMMON

Common repository of the RABIT project, for documentation storage and cross-component interaction.
https://rabit2022.cloud.edu.au/plots
ISC License
3 stars 1 forks source link

Improve docker build time by rearranging build steps #5

Closed megascrapper closed 2 years ago

megascrapper commented 2 years ago

This PR improves docker build time by taking advantage of how it caches each step of the build. Basically it puts items that change less often (e.g. dependency install) before more frequently changed items (e.g. the build itself).

More info: https://vsupalov.com/5-tips-to-speed-up-docker-build/