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