chore: Refactor Docker build chain.