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 # Ignore everything
.git **
.gitlab
.nyc_output
.vscode
coverage
# Exclude the following files, when copying into an image # Allow files and directories
.gitignore !/lib/**
.gitlab-ci.yml !/node_modules/**
!/LICENSE