Adjust docker versions and names

Issue-ID: AAF-995
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: If9f9bd19b34c655d8277b2d981d357812c3371b2
diff --git a/certService/Dockerfile b/certService/Dockerfile
index 5bd6b18..ff8a422 100644
--- a/certService/Dockerfile
+++ b/certService/Dockerfile
@@ -1,6 +1,6 @@
 FROM docker.io/openjdk:11-jre-slim
 
-ARG VERSION=1.0.0-SNAPSHOT
+ARG VERSION=${project.version}
 
 RUN groupadd certService && useradd -g certService certService
 
@@ -8,6 +8,6 @@
 
 USER certService:certService
 
-COPY target/cert-service-${VERSION}.jar ./opt/onap/aaf/certservice/cert-service.jar
+COPY target/aaf-certservice-api-${VERSION}.jar ./opt/onap/aaf/certservice/aaf-certservice-api.jar
 
-ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/cert-service.jar"]
+ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/aaf-certservice-api.jar"]