diff --git a/Dockerfile b/Dockerfile
index a8d04e9..25c2f96 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,13 @@
FROM openjdk:11-jre-slim
-LABEL maintainer="Subhrodip Mohanta"
-LABEL email="hello@subho.xyz"
-LABEL application="Retail Banking"
+LABEL maintainer="Subhrodip Mohanta hello@subho.xyz"
+LABEL artifact="retial-banking"
+LABEL name="Retail Banking"
-COPY target/retail.banking-0.1.0.jar /usr/local/retail.banking/
+ARG JAR_FILE=target/*.jar
+
+COPY ${JAR_FILE} app.jar
EXPOSE 8080
-CMD ["java", "-jar", "/usr/local/retail.banking/retail.banking-0.1.0.jar"]
+ENTRYPOINT [ "java", "-jar", "/app.jar" ]
diff --git a/pom.xml b/pom.xml
index bf99ef5..e261450 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,12 +5,12 @@
org.springframework.boot
spring-boot-starter-parent
- 2.3.0.RELEASE
+ 2.3.3.RELEASE
xyz.subho
retail.banking
- 0.1.0
+ 1.0
retail.banking
Retail banking project using MVC for TCS Case Study using Agile Methodologies
@@ -37,6 +37,12 @@
org.springframework.boot
spring-boot-starter-data-jpa
+
+
+ com.h2database
+ h2
+ test
+
org.springframework.boot
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 8ce16f6..136e610 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,5 +1,5 @@
# ===============================
-# = DATA SOURCE
+# ========= DATA SOURCE =========
# ===============================
# Set here configurations for the database connection
@@ -15,7 +15,7 @@ spring.datasource.validationQuery=SELECT 1
# ===============================
-# = JPA / HIBERNATE
+# ======= JPA / HIBERNATE =======
# ===============================
# Use spring.jpa.properties.* for Hibernate native properties (the prefix is
@@ -33,7 +33,8 @@ spring.jpa.hibernate.ddl-auto=validate
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
spring.jpa.properties.hibernate.id.new_generator_mappings=false
+
+# ===============================
+# === CHANGE SERVER PORT HERE ===
# ===============================
-# = CHANGE SERVER PORT HERE
-# ==============================
#server.port=8080 (uncomment this line to change the default port)