51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

springboot dockerfile

FROM openjdk:8
MAINTAINER "<715740383@qq.com>"
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY xxx.jar /xxx.jar
EXPOSE 7788
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dfile.encoding=utf-8","-jar","-Xmx2048m","-Xms1024m","/xxx.jar","--spring.profiles.active=dev"]

springboot dockerfile : 连接

tomcat dockerfile文件 : 连接

node dockerfile (nginx) :连接

python dockerfile : 连接

赞(5)
未经允许不得转载:工具盒子 » springboot dockerfile