From bcb3d3ee3b775b0d955cb528963120c0dd1add74 Mon Sep 17 00:00:00 2001 From: "hex (asiago)" Date: Mon, 3 Jun 2024 10:13:11 +0200 Subject: [PATCH] waah --- Dockerfile | 1 + scripts/docker_bootstrapper.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a288769..c61800d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,5 +57,6 @@ USER disseminate # Installing the dependencies. RUN yarn install --production +USER root # Startup command CMD ["npm", "run", "docker:prod:bootstrapper"] diff --git a/scripts/docker_bootstrapper.sh b/scripts/docker_bootstrapper.sh index a042858..3ad1258 100755 --- a/scripts/docker_bootstrapper.sh +++ b/scripts/docker_bootstrapper.sh @@ -22,4 +22,4 @@ fi # chown -R 1000:1000 data/ #fi echo "[bootstrapper] launching runner" -npm run docker:prod:_runner +su - root -c 'npm run docker:prod:_runner'