Dockerfile 342 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14

FROM openjdk:8-jre-alpine

ENV SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
    IBIZ_SLEEP=0 \
    JAVA_OPTS=""

CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
    sleep ${IBIZ_SLEEP} && \
    java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-app-ehrmob.jar

EXPOSE 8080

ADD ehr-app-ehrmob.jar /ehr-app-ehrmob.jar