Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Smith-Cruise committed Feb 24, 2018
1 parent fafaef2 commit 91a0c5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 91a0c5a

Please sign in to comment.