From 1062363ce43ec5c7602580c651b6d29b175fb1ea Mon Sep 17 00:00:00 2001 From: Matt Boersma Date: Mon, 25 Sep 2017 13:26:27 -0600 Subject: [PATCH] Include only necessary python sources in the Docker image (#4535) --- .dockerignore | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000000..1dab395bfc1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,10 @@ +# Exclude everything by default +* +# Make an exception for azure-cli source code +!src/* +# Make an exception for the license file +!LICENSE.txt +# Exclude build droppings, as mentioned in .gitignore +src/build* +**/*.pyc +**/__pycache__