FROM openjdk:8
MAINTAINER <NAME> <<EMAIL>>
VOLUME /tmp
ARG finalName
ENV JAR '/'$finalName
ARG port
ADD $finalName $JAR
RUN touch $JAR
ENV PORT 9099
EXPOSE $PORT

RUN env

ENTRYPOINT ["java", "-jar", "data-channel-service.jar"]