I am currently working solo on a very small simple python microservice. I started building this app, mostly by habit, in a virtual environment. As I started to get closer to the point where deployment considerations needed to be made, I started to realize that all of the dependencies I'd need to include in the container are already "contained" inside the virtual env.
In fact, as far as I've thought it through (which is admittedly miles from 'all the way,') for a python app, one could just deploy a virtual environment with installed dependencies preinstalled onto a server. As for x-axis scalability, the directory could be copied, no.
My question, then, is this:
Is this idea even feasible, or am I overlooking something? And if so, are there any advantages to using containers over virtual environments?