Specify Entry point for docker image

I think I need to transalate the section dealting with the entry point ( https://github.com/tcappellari/hello-kubernetes/blob/master/build.sbt ) to dockerfile syntax. Any other examples ?

I found a dockerfile file example in Graceful stop of service with docker stop. I would need some help here.

Mine is simple like this. My jar file is Elasticity-1.0-SNAPSHOT-docker-info.jar which has folders 'docker’and ‘maven’ and manifest file. This must be what the the parent POM which included other modules, generated…

FROM openjdk:8-jdk-alpine
VOLUME /tmp
WORKDIR /
ARG JAR_FILE
ADD ${JAR_FILE} app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","app.jar"]

Mohan