Browse Source

Reduce the amount of stuff we send in the docker context (#5564)

this makes docker builds a bit faster.
Richard van der Hoff 4 years ago
parent
commit
b2d2617c0d
2 changed files with 14 additions and 9 deletions
  1. 13 9
      .dockerignore
  2. 1 0
      changelog.d/5564.misc

+ 13 - 9
.dockerignore

@@ -1,9 +1,13 @@
-Dockerfile
-.travis.yml
-.gitignore
-demo/etc
-tox.ini
-.git/*
-.tox/*
-debian/matrix-synapse/
-debian/matrix-synapse-*/
+# ignore everything by default
+*
+
+# things to include
+!docker
+!scripts
+!synapse
+!MANIFEST.in
+!README.rst
+!setup.py
+!synctl
+
+**/__pycache__

+ 1 - 0
changelog.d/5564.misc

@@ -0,0 +1 @@
+Reduce the amount of stuff we send in the docker context.