From 3a18d2e8c2a1f3144f2b5831b11b3723b0f0c64f Mon Sep 17 00:00:00 2001 From: Ben Scobie Date: Tue, 17 Dec 2024 14:42:35 +0000 Subject: [PATCH] fix: Container startup failing for some --- docker/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/start.sh b/docker/start.sh index 56ff1573..83132daa 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -2,6 +2,6 @@ BASE_PATH_REPLACE="${BASE_PATH:-}" -find /opt/app/ui -type f -exec sed -i "s,/__PATH_PREFIX__,$BASE_PATH_REPLACE,g" '{}' \; +find /opt/app/ui -type f -not -path '*/node_modules/*' -print0 | xargs -0 sed -i "s,/__PATH_PREFIX__,$BASE_PATH_REPLACE,g" /usr/bin/supervisord -c /etc/supervisord.conf \ No newline at end of file