17 lines
464 B
Docker
17 lines
464 B
Docker
# Build-context excludes for Dockerfile.musl.
|
|
#
|
|
# The context is the parent directory (../), so a .dockerignore inside this
|
|
# repo is never read. BuildKit does read <Dockerfile>.dockerignore next to the
|
|
# Dockerfile. Paths are relative to the context root.
|
|
|
|
# Exclude everything, then re-include only what the image copies.
|
|
*
|
|
!nostr_core_lib_rust
|
|
!hamburger_morphing/rust
|
|
!signer
|
|
|
|
# Build outputs and VCS data (tens of GB otherwise).
|
|
**/target
|
|
**/.git
|
|
signer/dist
|