Introduce multistage Docker build for optimized image size

Implemented a multistage Docker build, separating build and runtime stages to reduce the final image size and improve security. Adjusted `.dockerignore` to exclude unnecessary files from the build context and updated the base JRE image to use the build output efficiently.
This commit is contained in:
anthorob committed 2026-10-18 02:04:56 -04:00
1 parent d0ea0535e2
commit dad2e0356e
2 files changed
+14 -10

No files matched your search

+1 -8
View File
@@ -1,15 +1,8 @@
.git
.github
.idea
.mvn
src
classes
logs
target/*
!target/netneutrality.jar
target
*.iml
README.md
checkstyle.xml
mvnw
mvnw.cmd
pom.xml