Extend cloud components configuration - reverify
[iotivity.git] / cloud / account / Dockerfile
1 FROM openjdk:8-jre-alpine
2
3 ADD ./target/CloudAccount-0.0.1-SNAPSHOT.jar iotivity/AccountServer.jar
4 ADD ./target/lib/* iotivity/lib/
5 ADD ./properties/* iotivity/properties/
6
7 WORKDIR iotivity/
8
9 ENV COAP_PORT 5685
10 ENV TLS_MODE 0
11 ENV MONGODB_ADDRESS mongodb
12 ENV MONGODB_PORT 27017
13
14 ENTRYPOINT ["java", "-jar", "AccountServer.jar"]