Skip to content

Commit

Permalink
Switch to Whitelisting in .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Timshel committed Aug 14, 2024
1 parent 9eebbf3 commit 9b9e28c
Showing 1 changed file with 12 additions and 37 deletions.
49 changes: 12 additions & 37 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,40 +1,15 @@
# Local build artifacts
target
// Blacklist 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/**
// Whitelist 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

0 comments on commit 9b9e28c

Please sign in to comment.