Commit dedd1448 authored by jwc's avatar jwc

项目优化

parent 16195bde
FROM registry.cn-beijing.aliyuncs.com/zingtech/mycentos-jdk8
COPY demo-0.0.1-SNAPSHOT.jar /opt/app/demo-0.0.1-SNAPSHOT.jar
COPY target/application.jar app.jar
ENTRYPOINT [ \
"java","-Djava.security.egd=file:/dev/./urandom", \
"-Duser.timezone=Asia/Shanghai", \
"-jar","/opt/app/demo-0.0.1-SNAPSHOT.jar"]
\ No newline at end of file
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment