Skip to content

Commit 9b1d026

Browse files
Reduce docker image size by rewriting .dockerignore
1 parent 9826c4e commit 9b1d026

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.dockerignore

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
.editorconfig
2-
.gitlab-ci.yml
3-
.gitignore
4-
*.iml
5-
.idea/
6-
.git/
7-
node_modules/
8-
lib/
1+
*
2+
!index.js
3+
!package-lock.json
4+
!package.json
5+
!.babelrc
6+
!src/
7+
!scripts/
8+
!elastalert_modules/
9+
!rule_templates/
10+
!config/

0 commit comments

Comments
 (0)