build: update dockerignore to a whitelist

This commit is contained in:
Michel Jonathan Schmitz
2019-07-16 13:33:49 +02:00
parent 46cc4b87a0
commit 32190cb8d5

View File

@@ -1,10 +1,7 @@
# Exclude the following directories, when copying into an image
.git
.gitlab
.nyc_output
.vscode
coverage
# Ignore everything
**
# Exclude the following files, when copying into an image
.gitignore
.gitlab-ci.yml
# Allow files and directories
!/lib/**
!/node_modules/**
!/LICENSE