From e1c4ef821f88c69110be7c24e4d859882aa49b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20H=C3=B6ffner?= Date: Wed, 20 Apr 2022 17:04:32 +0200 Subject: [PATCH] reduce ols-web RAM consumption It doesn't change much though, maybe there are more savings to be had. See https://github.com/EBISPOT/OLS/issues/582. --- ols-web/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ols-web/Dockerfile b/ols-web/Dockerfile index 7610f5c0..6a644472 100644 --- a/ols-web/Dockerfile +++ b/ols-web/Dockerfile @@ -9,4 +9,4 @@ FROM openjdk:8-jre-alpine RUN apk add bash COPY --from=build /opt/ols/ols-web/target/ols-boot.war /opt/ols-boot.war EXPOSE 8080 -ENTRYPOINT ["java", "-jar", "/opt/ols-boot.war"] +ENTRYPOINT ["java", "-XX:+UseCompressedOops", "-jar", "/opt/ols-boot.war"]