Skip to content

Commit 65d11a9

Browse files
authored
Switch to Whitelisting in .dockerignore (dani-garcia#4856)
1 parent c722006 commit 65d11a9

File tree

1 file changed

+12
-37
lines changed

1 file changed

+12
-37
lines changed

.dockerignore

+12-37
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,15 @@
1-
# Local build artifacts
2-
target
1+
// Ignore everything
2+
*
33

4-
# Data folder
5-
data
6-
7-
# Misc
8-
.env
9-
.env.template
10-
.gitattributes
11-
.gitignore
12-
rustfmt.toml
13-
14-
# IDE files
15-
.vscode
16-
.idea
17-
.editorconfig
18-
*.iml
19-
20-
# Documentation
21-
.github
22-
*.md
23-
*.txt
24-
*.yml
25-
*.yaml
26-
27-
# Docker
28-
hooks
29-
tools
30-
Dockerfile
31-
.dockerignore
32-
docker/**
4+
// Allow what is needed
5+
!.git
336
!docker/healthcheck.sh
347
!docker/start.sh
35-
36-
# Web vault
37-
web-vault
38-
39-
# Vaultwarden Resources
40-
resources
8+
!migrations
9+
!src
10+
11+
!build.rs
12+
!Cargo.lock
13+
!Cargo.toml
14+
!rustfmt.toml
15+
!rust-toolchain.toml

0 commit comments

Comments
 (0)