blob: cab61dc3d5342f176af30b3f2d035ecbca8388e7 [file] [log] [blame]
fkrzywka4b8cfb32018-06-01 12:45:22 +02001FROM openjdk:10-jre-slim
fkrzywkaf811f4a2018-06-01 14:49:42 +02002
fkrzywkae74c9e12018-06-06 10:43:53 +02003LABEL copyright="Copyright (C) 2018 NOKIA"
fkrzywkaf811f4a2018-06-01 14:49:42 +02004LABEL license.name="The Apache Software License, Version 2.0"
5LABEL license.url="http://www.apache.org/licenses/LICENSE-2.0"
fkrzywka4b8cfb32018-06-01 12:45:22 +02006LABEL maintainer="Nokia Wroclaw ONAP Team"
7
Piotr Jaszczyka4becf22018-05-29 13:35:11 +02008EXPOSE 6061
fkrzywka4b8cfb32018-06-01 12:45:22 +02009
10WORKDIR /opt/ves-hv-collector
11ENTRYPOINT ["java", "-cp", "*:", "org.onap.dcae.collectors.veshv.main.MainKt"]
Jakub Dudycz553154a2018-06-15 16:09:41 +020012CMD ["--listen-port", "6061","--config-url", "http://consul:8500/v1/kv/veshv-config"]
fkrzywka4b8cfb32018-06-01 12:45:22 +020013COPY target/libs/external/* ./
14COPY target/libs/internal/* ./
Piotr Jaszczyk07bbbf72018-06-07 11:52:16 +020015COPY target/hv-collector-main-*.jar ./