mirror of
https://github.com/chatmail/relay.git
synced 2026-05-14 01:44:38 +00:00
Replace the in-Dockerfile `git rev-parse HEAD` with a GIT_HASH build arg passed from docker-compose (local) or github.sha (CI), defaulting to "unknown" when unset. Also exclude .github/, docs/, tests/, and *.md (except www/**/*.md).
19 lines
237 B
Plaintext
19 lines
237 B
Plaintext
data/
|
|
venv/
|
|
__pycache__
|
|
*.pyc
|
|
*.orig
|
|
*.ini
|
|
.pytest_cache
|
|
.env
|
|
|
|
# Slim build context — .git/ alone can be 100s of MB
|
|
.git
|
|
.github/
|
|
docs/
|
|
tests/
|
|
|
|
# Exclude markdown files but keep www/src/*.md (used by WebsiteDeployer)
|
|
*.md
|
|
!www/**/*.md
|