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

docker assignment 1

Open ekincor opened this issue 1 year ago • 0 comments

The changes in the docker file solve two issues -

  1. Improves build time by copying package.json file over first and running npm install command. This way copying step of package.json would be cached if there are no changes in it and the subsequent command (npm install) will be skipped.
  2. Reduces the image size as it uses the smaller node image (node:20-alpine).

ekincor avatar Oct 24 '23 18:10 ekincor