mirror of
https://github.com/warmbly/warmbly.git
synced 2026-09-06 16:01:28 +00:00
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
# Keep the build context small.
|
|
#
|
|
# Without this, every `docker compose build` ships the entire worktree
|
|
# (incl. node_modules and the Vite cache) to BuildKit before the first
|
|
# layer runs. The Go images don't need any of it.
|
|
|
|
.git
|
|
.github
|
|
.gitignore
|
|
.idea
|
|
.vscode
|
|
.agentd
|
|
|
|
# Frontend bits — the web service bind-mounts ./web directly, so we
|
|
# never want the heavyweight frontend tree to land in the Go build
|
|
# context.
|
|
web/node_modules
|
|
web/.vite
|
|
web/dist
|
|
web/build
|
|
web/coverage
|
|
|
|
# Compiled host binaries that would shadow / inflate the context.
|
|
bin
|
|
dist
|
|
build
|
|
|
|
# Editor / OS noise
|
|
.DS_Store
|
|
*.swp
|
|
|
|
# macOS AppleDouble sidecars. On a volume without native xattr support macOS
|
|
# writes a ._name companion beside every file to hold the extended attributes.
|
|
# BuildKit's context sender then tries to read xattrs off those companions and
|
|
# fails with "operation not permitted", which aborts the whole build.
|
|
._*
|
|
**/._*
|
|
*~
|
|
.envrc
|
|
|
|
# Test + coverage artifacts
|
|
*.test
|
|
*.out
|
|
coverage.txt
|
|
coverage.html
|
|
|
|
# Local dev secrets (we use envsample in repo).
|
|
*.env
|
|
!cmd/*/envsample
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
|
|
# Docs/markdown aren't needed inside the image.
|
|
docs
|
|
*.md
|
|
!README.md
|