aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-05-13 04:25:34 -0700
committerGravatar MarkKoz <[email protected]>2019-05-13 04:25:34 -0700
commit1cd4e63eb66e3fd534a21f393277a4bb2db4be17 (patch)
treec7831384e8e306a442b80ae99740a939267aec2a
parentNever build the final image in a PR (diff)
Exlcude everything, then make exceptions in dockerignore
-rw-r--r--.dockerignore26
1 files changed, 8 insertions, 18 deletions
diff --git a/.dockerignore b/.dockerignore
index 8914ea8..2a5ccec 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,18 +1,8 @@
-.venv
-scripts
-htmlcov
-__pycache__
-.vagrant
-.pytest_cache
-.git
-.github
-.cache
-Vagrantfile
-.coverage
-.coveragerc
-.gitignore
-.travis.yml
-docker
-docker-compose.yml
-LICENSE
-README.md
+# Exclude everything
+*
+
+# Make exceptions for what's needed
+!snekbox
+!Pipfile
+!Pipfile.lock
+!LICENSE