Switch to Whitelisting in .dockerignore (#4856)

This commit is contained in:
Timshel 2024-08-21 21:59:17 +02:00 committed by GitHub
parent c722006385
commit 65d11a9720
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,40 +1,15 @@
# Local build artifacts // Ignore everything
target *
# Data folder // Allow what is needed
data !.git
# 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/**
!docker/healthcheck.sh !docker/healthcheck.sh
!docker/start.sh !docker/start.sh
!migrations
!src
# Web vault !build.rs
web-vault !Cargo.lock
!Cargo.toml
# Vaultwarden Resources !rustfmt.toml
resources !rust-toolchain.toml