no message
This commit is contained in:
@ -5,6 +5,6 @@ LABEL maintainer="123879394@qq.com"
|
||||
|
||||
WORKDIR /app
|
||||
# 复制 jar 包
|
||||
COPY target/*.jar /app.jar
|
||||
COPY target/*.jar app.jar
|
||||
# 设置 JVM 参数和启动命令
|
||||
ENTRYPOINT ["java", "-jar", "-Xms64m", "-Xmx128m", "app.jar"]
|
||||
13
pom.xml
13
pom.xml
@ -320,19 +320,6 @@
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.2.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user