diff --git a/mediator/Dockerfile b/mediator/Dockerfile index 348fcb856..93b1ebe4e 100644 --- a/mediator/Dockerfile +++ b/mediator/Dockerfile @@ -2,6 +2,8 @@ FROM cgr.dev/chainguard/jre:latest ENV LANG='nb_NO.UTF-8' LANGUAGE='nb_NO:nb' LC_ALL='nb:NO.UTF-8' TZ="Europe/Oslo" +ENV JAVA_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" + COPY build/libs/mediator-all.jar /app.jar ENTRYPOINT ["java", "-jar", "/app.jar"] \ No newline at end of file