docker-roadmap
docker-roadmap copied to clipboard
Dockerfile optimization
- Added a layer in dockerfile to copy over package.json and package-lock.json, this ensures that npm install only runs if there are modifications in npm packages.
- Replaced the base image for node with the equivalent alpine linux version to reduce the footprint of the docker image.