Skip to content

Commit 1eacb0b

Browse files
[build] Exclude pyc files from image (#333)
Exclude pyc files from image
1 parent 7ba3591 commit 1eacb0b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
build/workspace
2+
*.pyc

monitoring/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ lint:
66
format:
77
cd uss_qualifier && make format
88

9-
image: ../requirements.txt $(shell find . -type f ! -path "*/output/*" ! -name image) $(shell find ../interfaces -type f)
9+
image: ../requirements.txt $(shell find . -type f ! -path "*/output/*" ! -name image ! -name *.pyc) $(shell find ../interfaces -type f)
1010
# Building image due to changes in the following files: $?
1111
./build.sh
1212

0 commit comments

Comments
 (0)