Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

what's so hard about local package caching? Just bind mount all containers npm package cache location to a location on the host.


Biggest issue I run into is building the initial container. I'd like to take advantage of docker caching so while doing dev you can just start up the container with most everything built. However, that requires working with non-docker caches. Unfortunately there's no way to bind the caches while building you can only do that with the running container image.


Yeah, that's a one off cost though.. it's the equivalent of running npm install or whatever for the first time on a new pc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: