Skip to content

Commit

Permalink
[build] Exclude pyc files from image (#333)
Browse files Browse the repository at this point in the history
Exclude pyc files from image
  • Loading branch information
BenjaminPelletier authored Nov 9, 2023
1 parent 7ba3591 commit 1eacb0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
build/workspace
*.pyc
2 changes: 1 addition & 1 deletion monitoring/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1eacb0b

Please sign in to comment.