From 8716ceb232a73887d49dff5bb65eb71a5a205a8d Mon Sep 17 00:00:00 2001 From: huangsheng Date: Fri, 24 Feb 2023 18:02:55 +0800 Subject: [PATCH] =?UTF-8?q?Dockerfile=5Fprod=E7=AB=AF=E5=8F=A3=E5=92=8C?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5=E4=BF=AE=E6=94=B9?= 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 03632c1..68525e4 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=5s --timeout=3s CMD curl -fs http://localhost:9089/crm-print/actuator/health || exit 1 -EXPOSE 9089 +HEALTHCHECK --interval=60s --timeout=3s CMD curl -fs http://localhost:8080/crm-print/actuator/health || exit 1 +EXPOSE 8080 CMD ["java","-Xms1000m","-Xmx1000m","-jar","crm-print-server-1.0.0.jar"] \ No newline at end of file