summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimshel <[email protected]>2024-08-21 21:59:17 +0200
committerGitHub <[email protected]>2024-08-21 21:59:17 +0200
commit65d11a97203d51b28cbd73ee29b5300a11a8ad05 (patch)
treeb44aadb8d5928ed62fe1fc7b4fc7c0f3810b1c4a
parentc72200638552062f94b49c379ddd20fd3307643e (diff)
downloadvaultwarden-65d11a97203d51b28cbd73ee29b5300a11a8ad05.tar.gz
vaultwarden-65d11a97203d51b28cbd73ee29b5300a11a8ad05.zip
Switch to Whitelisting in .dockerignore (#4856)
-rw-r--r--.dockerignore49
1 files changed, 12 insertions, 37 deletions
diff --git a/.dockerignore b/.dockerignore
index c7ffe132..05c2a8e3 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,40 +1,15 @@
-# Local build artifacts
-target
+// Ignore everything
+*
-# Data folder
-data
-
-# Misc
-.env
-.env.template
-.gitattributes
-.gitignore
-rustfmt.toml
-
-# IDE files
-.vscode
-.idea
-.editorconfig
-*.iml
-
-# Documentation
-.github
-*.md
-*.txt
-*.yml
-*.yaml
-
-# Docker
-hooks
-tools
-Dockerfile
-.dockerignore
-docker/**
+// Allow what is needed
+!.git
!docker/healthcheck.sh
!docker/start.sh
-
-# Web vault
-web-vault
-
-# Vaultwarden Resources
-resources
+!migrations
+!src
+
+!build.rs
+!Cargo.lock
+!Cargo.toml
+!rustfmt.toml
+!rust-toolchain.toml