From 34cf136249e6e81608fea92cba1462268f024ff6 Mon Sep 17 00:00:00 2001 From: milanmajchrak <90026355+milanmajchrak@users.noreply.github.com> Date: Thu, 1 Feb 2024 09:52:43 +0100 Subject: [PATCH] Use ENV - production in the dspace-ui.json (#457) --- docker/dspace-ui.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/dspace-ui.json b/docker/dspace-ui.json index 3b4276e24f2..7e190ab4d51 100644 --- a/docker/dspace-ui.json +++ b/docker/dspace-ui.json @@ -6,7 +6,8 @@ "script": "dist/server/main.js", "instances": "7", "exec_mode": "cluster", - "node_args": "--max_old_space_size=4096" + "node_args": "--max_old_space_size=4096", + "env": {"NODE_ENV": "production"} } ] }