Skip to content

Conversation

@MohammedAliBk
Copy link

-Removed mvnw and mvnw.cmd files
Since we are now using the official Maven image inside Docker, the local Maven wrapper files
are no longer needed.

-Improved Dockerfile with Multi-Stage Build

Stage 1: Build the project using the official Maven image and package the application.

Stage 2: Use a lightweight OpenJDK image to run the final application.

Benefits:

Smaller final image size

Simpler build process without requiring Maven installed locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant