2 ms·
Looks good for a first dockerfile. You may want to try combining several of the run commands together to save on the number of layers generated and improve the
by extrapickles 11y ago
Looks good for a first dockerfile. You may want to try combining several of the run commands together to save on the number of layers generated and improve the final size.
A good rule of thumb is to combine if the command can touch the files of a previous command. Then it becomes easy to clean up after downloading a package (no need to have the downloaded version and the installed).