Dockerfile 620 B

123456789101112
  1. FROM openjdk:8-jdk-alpine
  2. #ADD ./deploy.sh /project/
  3. #RUN chmod 777 /project/deploy.sh
  4. #RUN wget -c -P /project/ http://third-part-tool.oss-cn-shanghai.aliyuncs.com/sgns.wiki.word.zip#RUN unzip -o /project/sgns.wiki.word.zip -d /project/
  5. #ADD ./sgns.wiki.word /project/sgns.wiki.word
  6. ADD ./target/crowd_review-1.0-SNAPSHOT.jar /project/crowd_review.jar
  7. EXPOSE 9004
  8. #RUN unzip -o /project/sgns.wiki.word.zip -d /project/
  9. #ENTRYPOINT ["/project/deploy.sh"]
  10. # ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Xms800m","-Xmx1g","-jar","-Dspring.profiles.active=test","/project/crowd_review.jar"]