I have a Dockerfile and a docker.compose.yaml files. We often modify them, but it takes 2 hours to build the new image.
Is it possible to update or rebuild the image in a faster way? For example i don't want to reinstall all of the requirements.
I use ARM based linux, so probably this is the reason of the big installing time.
requirements.txt:
Flask~=2.2.2
requests~=2.28.1
lark~=1.1.2
lightgbm~=3.3.2
numpy~=1.19.5
pandas~=1.3.3
scikit-image~=0.18.1
scikit-learn~=0.23.2
scikit-learn~=0.23.2 takes about 45 minutes to install