2 ms·
Depends. Is it a fresh OS install on a brand new machine, or just getting your specific Dockerized app running on my machine? If it's just your app, then it re
by nickjj 9y ago
Depends. Is it a fresh OS install on a brand new machine, or just getting your specific Dockerized app running on my machine?
If it's just your app, then it really should be nothing more than a docker-compose up --build, and perhaps a few 1 off tasks (such as setting up and / or seeding the DB, which should be callable commands you can run or exec).
The above should work for most web apps (there are exceptions of course), but if you have a fairly standard app I would strive to accomplish the above.
It should take only as long as it takes for the up --build to complete for the most part. All of my Rails, Flask, Phoenix and Node apps tend to be up and running in less than 10-15 minutes with 99% of that time spent on waiting for the images to build.
I also happen to teach Docker[0] and Flask[1] courses and out of the tens of thousands of people who have taken it, most people get the apps and examples up and running very quickly (spinning up a complex Flask app). If there's any struggle it's usually getting Docker set up initially, but that's quickly fixed in nearly every case.
[0]: https://diveintodocker.com/ https://diveintodocker.com/
[1]: https://buildasaasappwithflask.com/ https://buildasaasappwithflask.com/