diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1245a2d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM maven:3-jdk-8 + +WORKDIR /opt/sch +ADD . /opt/sch +RUN mvn clean package + +# TODO: This is bogus. This is simply to be used for Registrator registration. +EXPOSE 65000 + +CMD ["java", "-jar", "/opt/sch/target/dcae-service-change-handler.jar", "prod", "http://consul:8500/v1/kv/service-change-handler?raw=true"] |