Skip to content

Commit

Permalink
Switch to Whitelisting in .dockerignore (dani-garcia#4856)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timshel authored Aug 21, 2024
1 parent c722006 commit 65d11a9
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
// 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

0 comments on commit 65d11a9

Please sign in to comment.