summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 5f43f6bbdd7e904d1008d0dd50083c5bac7ac7c5 (plain)
1
2
3
4
FROM openjdk:8-jdk-alpine
ADD target/nbi-rest-services-1.0.0-SNAPSHOT.jar app.jar
ENV JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=docker -jar"
ENTRYPOINT exec java $JAVA_OPTS  /app.jar