1 Star 0 Fork 11

top_peak/spring-boot-helloworld

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 544 Bytes
一键复制 编辑 原始数据 按行查看 历史
南山 提交于 2024-09-12 16:49 +08:00 . update Dockerfile.
#FROM adoptopenjdk/openjdk11:alpine-jre
#FROM openjdk:11.0.16
#FROM openjdk:8u212-jre-alpine3.9
FROM registry.cn-beijing.aliyuncs.com/wangxiaochun/openjdk:8u212-jre-alpine3.9
ADD target/spring-boot-helloworld-*-SNAPSHOT.jar /applications/spring-boot-helloworld.jar
#ENTRYPOINT ["/usr/local/openjdk-11/bin/java -jar /applications/spring-boot-helloworld.jar --server.port=80"]
#CMD ["java","-jar","/applications/spring-boot-helloworld.jar --server.port=8888"]
CMD ["java","-jar","/applications/spring-boot-helloworld.jar","--server.port=8888"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/top_peak/spring-boot-helloworld.git
git@gitee.com:top_peak/spring-boot-helloworld.git
top_peak
spring-boot-helloworld
spring-boot-helloworld
main

搜索帮助