fkrzywka | 4b8cfb3 | 2018-06-01 12:45:22 +0200 | [diff] [blame] | 1 | FROM openjdk:10-jre-slim |
fkrzywka | f811f4a | 2018-06-01 14:49:42 +0200 | [diff] [blame] | 2 | |
fkrzywka | e74c9e1 | 2018-06-06 10:43:53 +0200 | [diff] [blame] | 3 | LABEL copyright="Copyright (C) 2018 NOKIA" |
fkrzywka | f811f4a | 2018-06-01 14:49:42 +0200 | [diff] [blame] | 4 | LABEL license.name="The Apache Software License, Version 2.0" |
| 5 | LABEL license.url="http://www.apache.org/licenses/LICENSE-2.0" |
fkrzywka | 4b8cfb3 | 2018-06-01 12:45:22 +0200 | [diff] [blame] | 6 | LABEL maintainer="Nokia Wroclaw ONAP Team" |
| 7 | |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 8 | EXPOSE 6061 |
fkrzywka | 4b8cfb3 | 2018-06-01 12:45:22 +0200 | [diff] [blame] | 9 | |
| 10 | WORKDIR /opt/ves-hv-collector |
| 11 | ENTRYPOINT ["java", "-cp", "*:", "org.onap.dcae.collectors.veshv.main.MainKt"] |
Jakub Dudycz | 553154a | 2018-06-15 16:09:41 +0200 | [diff] [blame] | 12 | CMD ["--listen-port", "6061","--config-url", "http://consul:8500/v1/kv/veshv-config"] |
fkrzywka | 4b8cfb3 | 2018-06-01 12:45:22 +0200 | [diff] [blame] | 13 | COPY target/libs/external/* ./ |
| 14 | COPY target/libs/internal/* ./ |
Piotr Jaszczyk | 07bbbf7 | 2018-06-07 11:52:16 +0200 | [diff] [blame] | 15 | COPY target/hv-collector-main-*.jar ./ |