Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@
# (worse) can leak in-progress secrets or unfinished work into intermediate
# image layers.

# Build outputs
# Build outputs.
#
# We DO need the staged jar to enter the build context — the Dockerfile
# either COPYs `target/netcopy.jar` (local `docker build .`) or
# `release/netcopy-<version>.jar` (CI release.yml). The unignore patterns
# below let exactly those jars through while still keeping intermediate
# build artefacts (classes, generated sources, surefire reports, …) out.
target/
!target/netcopy.jar
release/
!release/*.jar

# Git history (we COPY only the staged jar / entrypoint into the image)
.git/
Expand Down
Loading