generator icon indicating copy to clipboard operation
generator copied to clipboard

perf: optimize dockerfile

Open thebedigupta opened this issue 1 year ago • 4 comments

Description

Updated Test Results test-results.md

Problems that I worked in this PR

  1. Remove cache after installing packages
  2. Merge this run instruction with the consecutive ones
  3. Surround this variable with double quotes; otherwise, it can lead to unexpected behavior
  4. Include the ARG instruction in the build stage where it is used

I solved this issue after reading sonarcloud suggestion and how it work

thebedigupta avatar Oct 10 '24 18:10 thebedigupta