You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to cache the npm process? I've done it in the past by copying package.json in and running npm install before the rest of the app files. Docker sees there are no changes to package.json and caches the commands.
Could it be possible to make a package.json for the base meteor app and copy that in and install first? That way caching a lot of the packages installed?
The text was updated successfully, but these errors were encountered:
I'm not strictly clear on what you are trying to cache when. It might be the simplest approach is to create a new Docker image for yourself with this image as a base. There are instructions for doing so in issue #3 .
If you can prove a little more clarity on your use case (development vs production builds, for instance) and what performance benefit you are looking for I might be able to give you a more helpful answer.
Is there any way to cache the npm process? I've done it in the past by copying package.json in and running npm install before the rest of the app files. Docker sees there are no changes to package.json and caches the commands.
Could it be possible to make a package.json for the base meteor app and copy that in and install first? That way caching a lot of the packages installed?
The text was updated successfully, but these errors were encountered: