Is there a standard way to make sure every dependency is included in the Dockerfile?

Hello!

Let's say I am trying to make a docker image for my python project. I build the container and then deploy it locally to find out I have forgotten to include `numpy` module (oh, crap!). And then I rebuild the container, repeat, and now I find out I've not included `tqdm` (OH CRAP!). This is the hard way of learning which packages to include in your Docker image, be it a small python project with few dependencies or a React frontend project with tons of micromodules you have found from the darkest corners of the internet.

What I want to know is if there is a standard way of finding out everything that is required for your project, so you can include all of them in the image in the first go and be sure about it?

submitted by /u/radjeep
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/3jTBq43

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close