--

Thank you. Of course, you can use a requirements.txt to install libraries. One benefit of Docker is, though, it caches preliminary images. Each command, like a RUN, creates a new preliminary image. When you change any command, Docker will use cached images until the point that changed and only rebuild the images from that point on. When you put everything in a single command, Docker will need to rebuild everything within this command, even if the change is minor, only.

--

--

Frank Zickert | Quantum Machine Learning
Frank Zickert | Quantum Machine Learning

Written by Frank Zickert | Quantum Machine Learning

You're interested in quantum computing and machine learning. But you don't know how to get started? Let me help

No responses yet