add .dockerignore file to reduce intermediate docker image size and build time

This commit is contained in:
Thomas Etter 2020-06-09 12:16:01 +02:00
parent a9a3a2e6b4
commit a3b65b2fcd

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*