This commit is contained in:
10
pom.xml
10
pom.xml
@@ -167,13 +167,13 @@
|
||||
<plugin>
|
||||
<groupId>com.google.cloud.tools</groupId>
|
||||
<artifactId>jib-maven-plugin</artifactId>
|
||||
<version>${jib-maven-plugin.version}</version>
|
||||
<version>3.3.1</version>
|
||||
<configuration>
|
||||
<from>
|
||||
<image>openjdk:17-jdk-slim</image>
|
||||
</from>
|
||||
<to>
|
||||
<image>light-delivery</image>
|
||||
<image>light-delivery-app</image>
|
||||
<tags>
|
||||
<tag>latest</tag>
|
||||
<tag>${project.version}</tag>
|
||||
@@ -182,8 +182,14 @@
|
||||
<container>
|
||||
<ports>
|
||||
<port>8080</port>
|
||||
<port>8443</port>
|
||||
</ports>
|
||||
<environment>
|
||||
<SPRING_PROFILES_ACTIVE>prod</SPRING_PROFILES_ACTIVE>
|
||||
</environment>
|
||||
<creationTime>USE_CURRENT_TIMESTAMP</creationTime>
|
||||
<!-- 添加主类配置 -->
|
||||
<mainClass>com.light.delivery.LightApplication</mainClass>
|
||||
</container>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
Reference in New Issue
Block a user