删除 cloud-juhe/Dockerfile

master
weiran 2024-09-06 22:18:16 +08:00
parent 453756c46d
commit 6ef6dd4290
1 changed files with 0 additions and 23 deletions

View File

@ -1,23 +0,0 @@
#执行一些必备的条件
# |-home
# |- app.jar -启动jar包
# |- logs -日志文件
# |- uploadPath -上传路径
#指定构建镜像的起始镜像
FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:17.0.4.0.4.8-standard-ga-8.6
#定义时区参数
# 设置环境变量TZ
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
#挂载工作目录
VOLUME ["/home/logs/cloud-juhe"]
#拷贝执行jar包文件
COPY ./cloud-juhe-server/target/cloud-juhe.jar /home/app.jar
#构建启动命令
ENTRYPOINT ["java","-Dfile.encoding=utf-8","-jar"]
CMD ["/home/app.jar"]