Skip to content
loading...

re: How to run multiple Node and Angular versions simultaneously VIEW POST

FULL DISCUSSION
 

I just use docker. Define an image version as a variable, and you can easily manage all your infrastructure as code.

 

Hi Patryk! Yeah, that was also my original approach (and the one I actually keep using the most). Do you use mounted volumes in your containers? I do, and sometimes the file system access to the host makes read/write operations slow, and that was what made me look for a different approach.

 

I use both bind mounts for development (in my Python and node containers), and named volumes in dev and production, e.g. for my databases.

I use Linux for development and production, and I've never noticed any performance issues.

Same here, regarding the volumes. But when in Windows with a bind mount for development, a simple npm install would take a lot longer than when run in the host. Probably Windows related...

code of conduct - report abuse