From 62dceb64a81224cdf382f93943f044efef4e9f5d Mon Sep 17 00:00:00 2001 From: Haritest Date: Mon, 20 May 2024 14:05:43 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 67aaab310..b5b81f2bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,5 @@ RUN dpkg -i wkhtmltopdf.deb COPY sb-cb-ext-0.0.1-SNAPSHOT.jar /opt/ #HEALTHCHECK --interval=30s --timeout=30s CMD curl --fail http://localhost:7001/actuator/health || exit 1 -CMD ["java", "-XX:+PrintFlagsFinal", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-jar", "/opt/sb-cb-ext-0.0.1-SNAPSHOT.jar"] +CMD ["java", "-XX:+PrintFlagsFinal", "$JAVA_OPTIONS", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-jar", "/opt/sb-cb-ext-0.0.1-SNAPSHOT.jar"]