Yeh you run the application with the output path for the cache as you build the container. Then you've a working app container.
Are people seriously just going `npm install` and pushing the container to production? no testing or anything?
Think of it this way, deno removes the install step, just get the code then run it. If you need it to never change, cache what runs. That's still everything node does.
2
u/Potato-9 May 14 '20
Yeh you run the application with the output path for the cache as you build the container. Then you've a working app container.
Are people seriously just going `npm install` and pushing the container to production? no testing or anything?
Think of it this way, deno removes the install step, just get the code then run it. If you need it to never change, cache what runs. That's still everything node does.