Sid Palas on Twitter: "Third, COPY our package.json & package-lock.json files separate from our source code (🏎️) Docker images are cached at each layer (command). This change prevents every code change from
![reactjs - `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync - Stack Overflow reactjs - `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync - Stack Overflow](https://i.stack.imgur.com/CQ7wS.png)
reactjs - `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync - Stack Overflow
![BUG] `npm ci` succeeds when `package-lock.json` doesn't match `package.json` · Issue #2701 · npm/cli · GitHub BUG] `npm ci` succeeds when `package-lock.json` doesn't match `package.json` · Issue #2701 · npm/cli · GitHub](https://user-images.githubusercontent.com/4542735/107903652-ece65a00-6f9d-11eb-9401-d78aa3fc596f.png)