mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-09-21 05:11:58 +08:00
Exclude Docker/compose/CI files from builder stage context to avoid unnecessary cache invalidation. Update Dockerfile comments for Podman compatibility. Remove package dependency from build target.
41 lines
751 B
Plaintext
41 lines
751 B
Plaintext
**/.git
|
|
**/.idea
|
|
**/.mvn
|
|
!.mvn/
|
|
!.mvn/**
|
|
**/*.iml
|
|
|
|
**/*logs
|
|
|
|
**/.vs
|
|
**/.vscode
|
|
|
|
**/.settings
|
|
**/.project
|
|
|
|
**/*.iws
|
|
**/*.ipr
|
|
**/*.md
|
|
|
|
# Container/build metadata is parsed by the build engine or used on the host,
|
|
# but Maven does not need it inside the builder stage. Keep it out of `COPY . .`
|
|
# so documentation or compose-only edits do not invalidate the Maven layer.
|
|
Dockerfile
|
|
.dockerignore
|
|
Makefile
|
|
dc3/docker-compose*.yml
|
|
.github
|
|
|
|
# Maven build outputs — must be excluded so the builder stage starts from
|
|
# clean sources and host-side jars never leak into the image.
|
|
**/target
|
|
**/dependency-reduced-pom.xml
|
|
|
|
# Frontend artifacts (if any module ever bundles a UI)
|
|
**/node_modules
|
|
**/dist
|
|
|
|
# Local docker-compose / dev artifacts
|
|
dc3/data
|
|
dc3/logs
|