增加字符集编码

master
刘武 2024-08-01 09:16:16 +08:00
parent c8677ed235
commit a5627a9609
2 changed files with 2 additions and 6 deletions

View File

@ -15,5 +15,5 @@ VOLUME ["/home/logs/cloud-modules-system" ]
COPY ./target/cloud-modules-system.jar /home/app.jar COPY ./target/cloud-modules-system.jar /home/app.jar
#构建项目启动命令 #构建项目启动命令
ENTRYPOINT ["java","-jar"] ENTRYPOINT ["java","-Dfile.encoding=utf8","-jar"]
CMD ["/home/app.jar"] CMD ["/home/app.jar"]

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.muyu</groupId> <groupId>com.muyu</groupId>
<artifactId>cloud-server-parent</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>
@ -84,8 +84,6 @@
<finalName>${project.artifactId}</finalName> <finalName>${project.artifactId}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
@ -96,8 +94,6 @@
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>