summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: a3c56b2a0002e81f928652416ce6e35ed5a8bfa4 (plain)
1
2
3
4
5
6
7
FROM openjdk:8-jdk-alpine

ARG PKG_FILENAME=nbi-rest-services-1.0.0-SNAPSHOT.jar

ADD target/$PKG_FILENAME app.jar
ENV JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=docker -jar"
ENTRYPOINT exec java $JAVA_OPTS  /app.jar