Closed dheurlin closed 5 years ago
By adding package.json and running npm install before adding the other files, Docker is able to cache all npm packages meaning it does not have to reinstall them every time we build. This speeds up the build significantly.
npm install
By adding package.json and running
npm install
before adding the other files, Docker is able to cache all npm packages meaning it does not have to reinstall them every time we build. This speeds up the build significantly.