diff --git a/.dockerignore b/.dockerignore index 61d3b70c81..2003b2ca8d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ build/workspace +*.pyc diff --git a/monitoring/Makefile b/monitoring/Makefile index 663832e369..e2dfa540d9 100644 --- a/monitoring/Makefile +++ b/monitoring/Makefile @@ -6,7 +6,7 @@ lint: format: cd uss_qualifier && make format -image: ../requirements.txt $(shell find . -type f ! -path "*/output/*" ! -name image) $(shell find ../interfaces -type f) +image: ../requirements.txt $(shell find . -type f ! -path "*/output/*" ! -name image ! -name *.pyc) $(shell find ../interfaces -type f) # Building image due to changes in the following files: $? ./build.sh