This commit is contained in:
hex (asiago) 2024-06-03 10:13:11 +02:00
parent 356b3e3beb
commit bcb3d3ee3b
2 changed files with 2 additions and 1 deletions

View file

@ -57,5 +57,6 @@ USER disseminate
# Installing the dependencies. # Installing the dependencies.
RUN yarn install --production RUN yarn install --production
USER root
# Startup command # Startup command
CMD ["npm", "run", "docker:prod:bootstrapper"] CMD ["npm", "run", "docker:prod:bootstrapper"]

View file

@ -22,4 +22,4 @@ fi
# chown -R 1000:1000 data/ # chown -R 1000:1000 data/
#fi #fi
echo "[bootstrapper] launching runner" echo "[bootstrapper] launching runner"
npm run docker:prod:_runner su - root -c 'npm run docker:prod:_runner'