backend: install no dev dependencies (#251)

Omit installing the dev dependencies for the backend, as we serve it as
is in production.

Co-authored-by: mahula <lenzmath@posteo.de>
This commit is contained in:
Ulf Gebhardt 2025-03-07 15:18:26 +01:00 committed by GitHub
parent 18b9e8187f
commit 93f1c89934
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ cd $BACKEND_ROOT
pm2 stop $BACKEND_SERVICE
pm2 delete $BACKEND_SERVICE
npm install
npm install --omit=dev
npm run build
pm2 start 'npm run start' --name $BACKEND_SERVICE