From 7567cfbf0fb6c8d27462690e4b4e46cf0700cd99 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Sun, 29 Jan 2023 15:30:18 +0100 Subject: [PATCH] CT: Using NodeJS fixed pm2 permissions --- CT-Build/Alpine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/CT-Build/Alpine.yaml b/CT-Build/Alpine.yaml index c3554ab..b79939e 100644 --- a/CT-Build/Alpine.yaml +++ b/CT-Build/Alpine.yaml @@ -639,6 +639,7 @@ actions: #!/bin/sh #Install pm2 npm install -g pm2 + chown -R root:root /usr/local/lib/node_modules/pm2/node_module #Add NodeJS `node` service user addgroup node adduser -S -s /bin/ash -h /home/node -D -G node node