aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 1245a2d9d0a1f4c54f83f3761506c3ec9efb94ff (plain)
1
2
3
4
5
6
7
8
9
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"]