1 Star 0 Fork 11

zqtianying/spring-boot-helloworld

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 430 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangxiaochun 提交于 2023-06-20 23:01 +08:00 . v1.7
#FROM adoptopenjdk/openjdk11:alpine-jre
FROM openjdk:11.0.16
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/zqtianying/spring-boot-helloworld.git
git@gitee.com:zqtianying/spring-boot-helloworld.git
zqtianying
spring-boot-helloworld
spring-boot-helloworld
main

搜索帮助