aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-main/Dockerfile
diff options
context:
space:
mode:
authorfkrzywka <filip.krzywka@nokia.com>2018-06-01 12:45:22 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-08-01 08:42:19 +0200
commit4b8cfb3e5bafc0cb078e37f64d0f21e8dfb0916a (patch)
tree8b7834278b3a6921014fcc2d457c66430a646768 /hv-collector-main/Dockerfile
parentff1ce822e44ed6aa0712c2d04232ee2bdd427531 (diff)
Docker image creation
Maven integration with docker build Closes ONAP-226 Change-Id: I115ff9c13e1bf06a7594a174c7703bfea42f3641 Signed-off-by: fkrzywka <filip.krzywka@nokia.com> Issue-ID: DCAEGEN2-601
Diffstat (limited to 'hv-collector-main/Dockerfile')
-rw-r--r--hv-collector-main/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/hv-collector-main/Dockerfile b/hv-collector-main/Dockerfile
new file mode 100644
index 00000000..fd7ce21c
--- /dev/null
+++ b/hv-collector-main/Dockerfile
@@ -0,0 +1,11 @@
+FROM openjdk:10-jre-slim
+LABEL maintainer="Nokia Wroclaw ONAP Team"
+
+EXPOSE 8081
+
+WORKDIR /opt/ves-hv-collector
+ENTRYPOINT ["java", "-cp", "*:", "org.onap.dcae.collectors.veshv.main.MainKt"]
+CMD ["--listen-port", "8081", "--config-url", ""]
+COPY target/libs/external/* ./
+COPY target/libs/internal/* ./
+COPY target/hv-collector-main-*.jar ./ \ No newline at end of file