Adding details on how to use .dockerignore file

Addresses #7724

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
What code?