Merge pull request #1057 from thomasetter/dockerignore

add .dockerignore file to reduce intermediate docker image size and build time
This commit is contained in:
Vincent Prouillet 2020-06-09 22:13:24 +02:00 committed by GitHub
commit 779c4dcdab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

34
.dockerignore Normal file
View file

@ -0,0 +1,34 @@
.dockerignore
.git*
Dockerfile
# From .gitignore
target
.idea/
test_site/public
test_site_i18n/public
docs/public
small-blog
medium-blog
big-blog
huge-blog
extra-huge-blog
small-kb
medium-kb
huge-kb
current.bench
now.bench
*.zst
# snapcraft artifacts
snap/.snapcraft
parts
prime
stage
# nixos dependencies snippet
shell.nix
# vim temporary files
**/.*.sw*