Pārlūkot izejas kodu

Добавил JAVA_OPTS="-XX:+ExitOnOutOfMemoryError", см. Redmine 174238

Tomishinets Vladimir 3 gadi atpakaļ
vecāks
revīzija
afbfe40450
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -2,7 +2,8 @@ FROM images.sdsys.ru/sys/iru-base:7.6
 ENTRYPOINT ["/entrypoint.sh"]
 COPY entrypoint.sh /
 COPY application-logger.xml application.conf /etc/web-registry-portal/
-ENV PATH="$PATH:/usr/share/web-registry-portal/bin" LANG="en_US.UTF-8" ADMIN_HOST=admin
+ENV PATH="$PATH:/usr/share/web-registry-portal/bin" LANG="en_US.UTF-8" ADMIN_HOST=admin  \
+    JAVA_OPTS="-XX:+ExitOnOutOfMemoryError"
 EXPOSE 9000 2551 2552
 HEALTHCHECK --start-period=30s --interval=20s --timeout=10s --retries=2 CMD healthcheck.sh
 ARG repo=prod