From 342b740a12db8d7cc5dd3bbd29078cdac2bbb450 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 7 Nov 2022 15:48:40 +0800 Subject: [PATCH] =?UTF-8?q?Dockerfile=E8=B0=83=E6=95=B4=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renren-admin/src/main/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renren-admin/src/main/docker/Dockerfile b/renren-admin/src/main/docker/Dockerfile index b1ffdbed..b850603b 100644 --- a/renren-admin/src/main/docker/Dockerfile +++ b/renren-admin/src/main/docker/Dockerfile @@ -15,4 +15,4 @@ HEALTHCHECK --interval=3m --timeout=3s --start-period=3m --retries=5 CMD curl -- WORKDIR $VERTICLE_HOME/renren-admin ENTRYPOINT ["sh", "-c"] -CMD ["exec java -jar -Dfile.encoding=utf-8 -server -Xshareclasses -Xtune:virtualized -Xms512M -Xmx$Xmx -XX:ReservedCodeCacheSize=240m -XX:InitialCodeCacheSize=240m -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ConcGCThreads=1 -XX:ParallelGCThreads=2 -XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=5 -Duser.timezone=GMT+08 $JAR_FILE --spring.profiles.active=$ACTIVE"] \ No newline at end of file +CMD ["exec java -jar -Dfile.encoding=utf-8 -server -Xshareclasses -Xtune:virtualized -Xms512M -Xmx$Xmx -XX:ReservedCodeCacheSize=240m -XX:InitialCodeCacheSize=240m -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ConcGCThreads=1 -XX:ParallelGCThreads=2 -XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=5 -Duser.timezone=GMT+08 $VERTICLE_HOME/renren-admin/$JAR_FILE --spring.profiles.active=$ACTIVE"] \ No newline at end of file