Browse Source

docker: attempt to return to dockerignore whitelist

previously the COPY instruction did not copy any files
when autobuilding on hub.docker.com

local builds worked as expected
Fabian Peter Hammerle 6 years ago
parent
commit
6b67e8aa3d
1 changed files with 5 additions and 4 deletions
  1. 5 4
      .dockerignore

+ 5 - 4
.dockerignore

@@ -1,4 +1,5 @@
-/.git/
-/.gitignore
-/Dockerfile
-/README.md
+*
+!Makefile
+!src/
+
+# https://docs.docker.com/engine/reference/builder/#dockerignore-file