loading...

re: Do you use python virtualenv inside Docker at production? VIEW POST

FULL DISCUSSION
 

I don't like to have difference between my development setup and the production setup (containerized). I don't find it harmful to have a virtual env inside the container.

 

Says it better than I could have. +1

 

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

And thanks for your thought.

 

We actually use K8s for dev, staging and production clusters. For development, we have containers that're orchestrated by docker-compose.

The flow is: Test things locally, once done, deploy to dev, then move to staging and finally deploy on production.

Code of Conduct Report abuse