From 43b88a7e9a24f1d8628262dff235d0ce5899fbe4 Mon Sep 17 00:00:00 2001 From: Benjamin Pelletier Date: Wed, 8 Nov 2023 21:39:12 +0000 Subject: [PATCH] Exclude pyc files from image --- .dockerignore | 1 + monitoring/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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