Silence deprecation warnings in default startup scripts Closes #2876
| @@ -19,7 +19,7 @@ ENV NODE_ENV=production | ||
| 19 | 19 | COPY package*.json post-install.js ./ |
| 20 | 20 | RUN \ |
| 21 | 21 | echo "*** Install npm packages ***" && \ |
| 22 | 22 | npm i --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev && npm cache clean --force |
| 23 | 23 | |
| 24 | 24 | # Bundle app source |
| 25 | 25 | COPY . ./ |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | @echo off |
| 2 | 2 | pushd %~dp0 |
| 3 | 3 | set NODE_ENV=production |
| 4 | 4 | call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev |
| 5 | 5 | node server.js %* |
| 6 | 6 | pause |
| 7 | 7 | popd |
| @@ -12,7 +12,7 @@ if %errorlevel% neq 0 ( | ||
| 12 | 12 | ) |
| 13 | 13 | ) |
| 14 | 14 | set NODE_ENV=production |
| 15 | 15 | call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev |
| 16 | 16 | node server.js %* |
| 17 | 17 | pause |
| 18 | 18 | popd |
| @@ -95,7 +95,7 @@ if %errorlevel% neq 0 ( | ||
| 95 | 95 | |
| 96 | 96 | echo Installing npm packages and starting server |
| 97 | 97 | set NODE_ENV=production |
| 98 | 98 | call npm install --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev |
| 99 | 99 | node server.js %* |
| 100 | 100 | |
| 101 | 101 | :end |
| @@ -26,7 +26,7 @@ fi | ||
| 26 | 26 | |
| 27 | 27 | echo "Installing Node Modules..." |
| 28 | 28 | export NODE_ENV=production |
| 29 | 29 | npm i --no-audit --no-fund --quietloglevel=error --no-progress --omit=dev |
| 30 | 30 | |
| 31 | 31 | echo "Entering SillyTavern..." |
| 32 | 32 | node "server.js" "$@" |