Skip to content

Commit 20152fb

Browse files
authored
Revive .dockerignore (#271)
* Revert "rm .dockerignore (#262)" This reverts commit ffc2b86. * add Dockerfile itself to .dockerignore This makes changes to the Dockerfile not to cause a full rebuild, which it does without this, because of the COPY . /project.
1 parent 3d3812e commit 20152fb

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.dockerignore

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# No need for the Dockerfile itself, this makes it much faster to make small changes in it
2+
Dockerfile
3+
4+
# No need to push big ./.git/ into container, it's not required to build
5+
.git
6+
7+
8+
# Keep this in sync with .gitignore:
9+
10+
.settings/
11+
.project
12+
.classpath
13+
14+
bin/
15+
.apt_generated/
16+
xtend-gen/
17+
.rpt2_cache/
18+
.gradle/
19+
build/
20+
out/
21+
.gradletasknamecache
22+
/.nb-gradle/
23+
dist/
24+
25+
.idea/
26+
*.iml
27+
28+
node_modules/
29+
coverage/
30+
*d.ts
31+
32+
web/.vertx/file-cache-*
33+
34+
.vscode/
35+
.history/
36+
.vertx/

0 commit comments

Comments
 (0)