Docs: Section on .dockerignore utility
We should add a page or section mentioning the utility of creating a .dockerignore file in a bundle directory. For non-trivial bundles, adding files/dirs to the .dockerignore can significantly reduce the size of the generated installer image.
cc @squillace
ooh yeah! We have a .dockerignore generated during porter create but we don't document anywhere the why/how.
tell me where I should write something up, as #960 taught me what to say
Right now we have a page for https://porter.sh/custom-dockerfile/ that shows up under "Author Bundles" in the left hand nav. Let's do the same for the dockerignore.
Take a look at these for an example of how to make the new page and link to it:
- https://github.com/getporter/porter/blob/main/docs/content/custom-dockerfile.md
- https://github.com/getporter/porter/blob/1f32693b10f783f299c12290b9243eade91966d3/docs/config.toml#L141-L146