'The order of requirements.txt alter the output image?

While building my Docker images (Python3.8) one common thing that I'm struggling is with solving conflicts between dependencies.

The requirements.txt file that index the install inside the container, respect any logic with the order of the index of every library install?

The output image will be the same if I sort my requirements.txt index in a different way?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source