philippgille / hello-netcoreapp

Basic .NET Core console application with additional scripts and files for building the app and creating release artifacts for a framework-dependent deployment, self-contained deployment, Docker image, Chocolatey package and AppImage
GNU General Public License v3.0
6 stars 5 forks source link

Add dockerignore file for minimizing Docker build context #33

Open philippgille opened 6 years ago

philippgille commented 6 years ago

Currently over 500 MB get sent as Docker build context. Most of it comes from previously built artifacts which can be excluded from the context.

https://docs.docker.com/engine/reference/builder/#dockerignore-file