From b1644d112875f0370cf8a0a022d42871070291b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sun, 27 Oct 2019 12:31:54 +0000 Subject: [PATCH] chore(demo): set GOGC=20 on demo instance There's limited memory, so set low GOGC to avoid OOMs --- demo/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/demo/Dockerfile b/demo/Dockerfile index 3de860fbe..c9ad0547b 100644 --- a/demo/Dockerfile +++ b/demo/Dockerfile @@ -28,4 +28,5 @@ COPY demo/karma.yaml /etc/karma.yaml COPY demo/custom.js /custom.js RUN adduser -D karma USER karma +ENV GOGC=20 CMD supervisord --nodaemon --configuration /etc/supervisord.conf