打包上传到maven私服需要的依赖与podman部署的修正
parent
144cece04d
commit
f39685a1ba
6
pom.xml
6
pom.xml
|
|
@ -89,6 +89,12 @@
|
|||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- 上传maven私有仓库需要的依赖 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
|
|
|
|||
|
|
@ -719,6 +719,12 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- 上传maven私有仓库需要的依赖 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ FROM eclipse-temurin:8-jre
|
|||
RUN mkdir -p /yudao-module-mp-biz-1.8.0-snapshot
|
||||
WORKDIR /yudao-module-mp-biz-1.8.0-snapshot
|
||||
## 将后端项目的 Jar 文件,复制到镜像中
|
||||
COPY ./target/yudao-module-mp-biz-1.8.0-snapshot.jar app.jar
|
||||
COPY ./target/yudao-module-mp-biz.jar app.jar
|
||||
|
||||
## 设置 TZ 时区
|
||||
## 设置 JAVA_OPTS 环境变量,可通过 docker run -e "JAVA_OPTS=" 进行覆盖
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ FROM eclipse-temurin:8-jre
|
|||
RUN mkdir -p /yudao-module-pay-biz-1.8.0-snapshot
|
||||
WORKDIR /yudao-module-pay-biz-1.8.0-snapshot
|
||||
## 将后端项目的 Jar 文件,复制到镜像中
|
||||
COPY ./target/yudao-module-pay-biz-1.8.0-snapshot.jar app.jar
|
||||
COPY ./target/yudao-module-pay-biz.jar app.jar
|
||||
|
||||
## 设置 TZ 时区
|
||||
## 设置 JAVA_OPTS 环境变量,可通过 docker run -e "JAVA_OPTS=" 进行覆盖
|
||||
|
|
|
|||
Loading…
Reference in New Issue