FROM openjdk:8-jdk-alpine #ADD ./deploy.sh /project/ #RUN chmod 777 /project/deploy.sh #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/ #ADD ./sgns.wiki.word /project/sgns.wiki.word ADD ./target/crowd_review-1.0-SNAPSHOT.jar /project/crowd_review.jar EXPOSE 9004 #RUN unzip -o /project/sgns.wiki.word.zip -d /project/ #ENTRYPOINT ["/project/deploy.sh"] # ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Xms800m","-Xmx1g","-jar","-Dspring.profiles.active=test","/project/crowd_review.jar"]