docker-roadmap icon indicating copy to clipboard operation
docker-roadmap copied to clipboard

Results 24 docker-roadmap issues
Sort by recently updated
recently updated
newest added

npm install runs only if chnages in package.json so we copy package.json first then npm install willl not re run after docker build is run again

Used the alpine base image and installed node and npm using apk

Solved the issue of running npm install on every minor change and added a small version of node:14-alpine

as part of the docker roadmap assignment optimised caching for better build times and Reduction of Image Size using alpine version of Node:20

1. 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. 2. Replaced the base...