Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame^] | 1 | FROM openjdk:10-jre-slim |
| 2 | |
| 3 | LABEL copyright="Copyright (C) 2018 NOKIA" |
| 4 | LABEL license.name="The Apache Software License, Version 2.0" |
| 5 | LABEL license.url="http://www.apache.org/licenses/LICENSE-2.0" |
| 6 | LABEL maintainer="Nokia Wroclaw ONAP Team" |
| 7 | |
| 8 | EXPOSE 8080 |
| 9 | |
| 10 | WORKDIR /opt/ves-hv-dcae-app-simulator |
| 11 | ENTRYPOINT ["java", "-cp", "*:", "org.onap.dcae.collectors.veshv.simulators.dcaeapp.MainKt"] |
| 12 | CMD ["--kafka-bootstrap-servers", "TODO", "--kafka-topics", "TODO", "--api-port", "TODO"] |
| 13 | COPY target/libs/external/* ./ |
| 14 | COPY target/libs/internal/* ./ |
| 15 | COPY target/hv-collector-dcae-app-simulator-*.jar ./ |