aboutsummaryrefslogtreecommitdiffstats
path: root/certService/Dockerfile
diff options
context:
space:
mode:
authorawudzins <adam.wudzinski@nokia.com>2020-02-04 14:53:39 +0100
committerawudzins <adam.wudzinski@nokia.com>2020-02-04 15:59:03 +0100
commit40d0466c361c02d96295cab1a6118a204b064539 (patch)
tree425d06ad9a5e5c9e2d215be9b9fb69a2ea0ecb3f /certService/Dockerfile
parent50f42bd19fe752717823ba9ef1ffe932c47d05f4 (diff)
Add Docker file
Issue-ID: AAF-995 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I6bcd59a7eeb41318edfe1845f4ea7f99d97a4ac8
Diffstat (limited to 'certService/Dockerfile')
-rw-r--r--certService/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/certService/Dockerfile b/certService/Dockerfile
new file mode 100644
index 00000000..b6a657a1
--- /dev/null
+++ b/certService/Dockerfile
@@ -0,0 +1,7 @@
+FROM docker.io/openjdk:11-jre-slim
+
+ARG VERSION=0.0.1-SNAPSHOT
+
+COPY target/cert-service-${VERSION}.jar ./app/cert-service.jar
+
+ENTRYPOINT ["java","-jar","./app/cert-service.jar"]