Use custom init script instead of postinstall (#5384)
* Use custom init script instead of postinstall * Revert changes to start scripts in src\electron * feat: add --ignore-scripts flag to npm install commands in batch and shell scripts * feat: add --ignore-scripts flag to npm ci in Dockerfile
This commit is contained in:
@@ -10,7 +10,8 @@ fi
|
||||
|
||||
echo "Installing Node Modules..."
|
||||
export NODE_ENV=production
|
||||
npm i --no-save --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
||||
npm install --no-save --no-audit --no-fund --loglevel=error --no-progress --omit=dev --ignore-scripts
|
||||
npm run init
|
||||
|
||||
echo "Entering SillyTavern..."
|
||||
node "server.js" "$@"
|
||||
|
||||
Reference in New Issue
Block a user