Dockerfile

master
陈思豪 2024-07-26 19:34:12 +08:00
parent b3714d0f91
commit daffbcabc3
2 changed files with 13 additions and 1 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-system"]
COPY ./target/cloud-system.jar /home/app.jar
ENTRYPOINT ["java","-jar"]
CMD ["/home/app.jar"]

View File

@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>cloud-modules-system</artifactId>
<artifactId>cloud-system</artifactId>
<description>
cloud-modules-system系统模块