启动流程

master
陈思豪 2024-07-27 11:50:54 +08:00
parent 8a055e6cdb
commit 45f25d15cd
2 changed files with 13 additions and 0 deletions

12
Dockerfile 100644
View File

@ -0,0 +1,12 @@
FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:17.0.4.0.4.8-standard-ga-8.6
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
VOLUME ["/home/logs/cloud-file","/home/uploadPath"]
COPY ./target/cloud-file.jar /home/app.jar
ENTRYPOINT ["java","-jar"]
CMD ["/home/app.jar"]

View File

@ -11,6 +11,7 @@
<artifactId>cloud-file</artifactId>
<version>1.0.0</version>
<description>
cloud-modules-file文件服务
</description>