Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Eagle-OJ/eagle-oj-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Smith-Cruise committed Feb 24, 2018
2 parents e59d6e3 + 91a0c5a commit c94c70c
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 c94c70c

Please sign in to comment.