From e9202a548a442bf3b160992aa0c58174c0a2b27d Mon Sep 17 00:00:00 2001 From: huangsheng Date: Fri, 24 Feb 2023 19:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F=E5=95=86=E5=93=81=E4=B8=BA90?= =?UTF-8?q?89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile_prod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile_prod b/Dockerfile_prod index 68525e4..03632c1 100644 --- a/Dockerfile_prod +++ b/Dockerfile_prod @@ -9,6 +9,6 @@ RUN apk update && apk add --no-cache tzdata curl\ COPY ./server/target/crm-print-server-1.0.0.jar / RUN mkdir /templates WORKDIR / -HEALTHCHECK --interval=60s --timeout=3s CMD curl -fs http://localhost:8080/crm-print/actuator/health || exit 1 -EXPOSE 8080 +HEALTHCHECK --interval=5s --timeout=3s CMD curl -fs http://localhost:9089/crm-print/actuator/health || exit 1 +EXPOSE 9089 CMD ["java","-Xms1000m","-Xmx1000m","-jar","crm-print-server-1.0.0.jar"] \ No newline at end of file