Browse Source

Switch to Whitelisting in .dockerignore (#4856)

pull/4885/head
Timshel 1 month ago
committed by GitHub
parent
commit
65d11a9720
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 49
      .dockerignore

49
.dockerignore

@ -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
# Web vault !src
web-vault
!build.rs
# Vaultwarden Resources !Cargo.lock
resources !Cargo.toml
!rustfmt.toml
!rust-toolchain.toml

Loading…
Cancel
Save