dtekcth / dfotose

DFotos hemsida
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

Speed up build #28

Closed dheurlin closed 5 years ago

dheurlin commented 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.