diff options
author | Michael Hwang <mhwang@research.att.com> | 2016-10-17 17:32:25 -0400 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2017-08-23 13:43:09 -0400 |
commit | 16a9c5b8c6b91ea856450d99cdfa6a18c57b7f1b (patch) | |
tree | 14e7baadd42e8d8dcfa9e9b177b1bb6f05d8522a /Dockerfile | |
parent | 5c203e2c84b5ebcb0eb827038b370fb962595745 (diff) |
Make first commit
Change-Id: I7dd166e4052d48e2b333cfaadb8a0b64009b2cbc
Issue-Id: DCAEGEN2-44
Signed-off-by: Michael Hwang <mhwang@research.att.com>
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"] |