Skip to content

Optimize Dockerfile

Overview

The reason to optimize:

  • Small size of the image

  • Reduce build time, which can help on CICD cost and decreased time-to-deliver to client

  • Reduce security risk

Technique

Reference

[1]: Optimize dockerfile idea from Hoang Viet