misc: Exclude typescript files from resulting image

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
Cameron Diver 2018-12-21 09:26:11 +00:00
parent 7284863e6c
commit 34e5a7b048
No known key found for this signature in database
GPG Key ID: 49690ED87032539F

View File

@ -86,7 +86,7 @@ RUN find . -path '*/coverage/*' -o -path '*/test/*' -o -path '*/.nyc_output/*' \
-o -name '*.c' -o -name '*.coffee' -o -name '*.eslintrc' \ -o -name '*.c' -o -name '*.coffee' -o -name '*.eslintrc' \
-o -name '*.h' -o -name '*.html' -o -name '*.markdown' \ -o -name '*.h' -o -name '*.html' -o -name '*.markdown' \
-o -name '*.md' -o -name '*.patch' -o -name '*.png' \ -o -name '*.md' -o -name '*.patch' -o -name '*.png' \
-o -name '*.yml' \ -o -name '*.yml' -o -name "*.ts" \
-delete \ -delete \
&& find . -type f -path '*/node_modules/sqlite3/deps*' -delete \ && find . -type f -path '*/node_modules/sqlite3/deps*' -delete \
&& find . -type f -path '*/node_modules/knex/build*' -delete \ && find . -type f -path '*/node_modules/knex/build*' -delete \