From 8a7b96ccd4b170138dfe54f43ffb6294482e6c22 Mon Sep 17 00:00:00 2001 From: avulakishore11 <134989441+avulakishore11@users.noreply.github.com> Date: Tue, 2 Jul 2024 08:08:27 -0400 Subject: [PATCH] Create dockerfile --- dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..87dc204 --- /dev/null +++ b/dockerfile @@ -0,0 +1,14 @@ +# Base image to build and publsih the artifact +FROM maven3.9.8-eclipse-temurin-11 + +# sets up working directory + +WORKDIR /app + +# copy the all maven dependencies + +COPY . . + +# build the actual application once its copies the entire code inot container + +RUN mvn clean package