From 91a0c5a550c6d71fd326c7a23a2dc0d635cc1cd4 Mon Sep 17 00:00:00 2001 From: SmithCruise Date: Sat, 24 Feb 2018 14:20:55 +0800 Subject: [PATCH] update --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index fe8b910..9a656c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,14 @@ FROM openjdk:8u151-jre-alpine3.7 +LABEL "version"="1.0" +LABEL "maintainer"="chendingchao1@126.com" + WORKDIR /eagle-oj COPY ./eagle-oj-web/target/eagle-oj-web-1.0.jar /eagle-oj +VOLUME ["/eagle-oj/log"] + # ENV MYSQL_URL=101.132.164.120:3306 MYSQL_DATABASE=eagle_oj MYSQL_USERNAME=root MYSQL_PASSWORD=eagle_oj CMD ["java", "-Dspring.profiles.active=prod", "-jar", "eagle-oj-web-1.0.jar"]