Merge remote-tracking branch 'origin/master'
commit
2b31da281e
|
@ -0,0 +1,15 @@
|
||||||
|
#指定构建镜像的起始镜像
|
||||||
|
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-gen","/home/uploadPath"]
|
||||||
|
|
||||||
|
#拷贝执行jar报
|
||||||
|
COPY ./target/cloud-modules-gen.jar /home/app.jar
|
||||||
|
|
||||||
|
ENTRYPOINT ["java","-jar"]
|
||||||
|
CMD ["/home/app.jar"]
|
6
pom.xml
6
pom.xml
|
@ -4,13 +4,13 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>cloud-modules</artifactId>
|
<artifactId>cloud-server-parent</artifactId>
|
||||||
<version>3.6.3</version>
|
<version>3.6.4</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>cloud-modules-gen</artifactId>
|
<artifactId>cloud-modules-gen</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
<description>
|
<description>
|
||||||
cloud-modules-gen代码生成
|
cloud-modules-gen代码生成
|
||||||
</description>
|
</description>
|
||||||
|
|
Loading…
Reference in New Issue