4 ms·
what's so hard about local package caching? Just bind mount all containers npm package cache location to a location on the host.
by throw156754228 2y ago
what's so hard about local package caching? Just bind mount all containers npm package cache location to a location on the host.
- cogman10 2y agoBiggest 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.
- throw156754228 2y agoYeah, 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.