Dockerfile 329 B

12345678910111213
  1. FROM daocloud.io/library/java
  2. ENV spring_profiles_active default,test
  3. ADD ./jar /hos-parse
  4. WORKDIR /hos-parse
  5. VOLUME /hos-parse
  6. EXPOSE 5050
  7. #ENTRYPOINT nohup java -Djava.security.egd=file:/dev/./urandom -jar hos-parse.jar >/dev/null 2>&1 &
  8. ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","hos-parse.jar"]