DEV Community

Discussion on: Do you use python virtualenv inside Docker at production?

Collapse
 
defman profile image
Sergey Kislyakov

No. I don't see any benefits for that. Docker container is already a virtual environment itself, not sure why I'd want to have another one inside it.

Collapse
 
ashraful profile image
Mohamad Ashraful Islam

Do you ship your container dev to stage, stage to prod. OR, clone the repo at production server and run docker command, like, docker-compose up

Collapse
 
defman profile image
Sergey Kislyakov

CD does delivery to staging, once we're good with it, it's simply a click on a button to release it and ship to prod.

Collapse
 
ashraful profile image
Mohamad Ashraful Islam

That's a good and valid point. Thank you