Merge branch 'release' into staging

This commit is contained in:
Cohee 2024-09-19 22:44:55 +03:00
commit bfc0837936
5 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ ENV NODE_ENV=production
COPY package*.json post-install.js ./ COPY package*.json post-install.js ./
RUN \ RUN \
echo "*** Install npm packages ***" && \ echo "*** Install npm packages ***" && \
npm i --no-audit --no-fund --quiet --omit=dev && npm cache clean --force npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force
# Bundle app source # Bundle app source
COPY . ./ COPY . ./

View File

@ -1,7 +1,7 @@
@echo off @echo off
pushd %~dp0 pushd %~dp0
set NODE_ENV=production set NODE_ENV=production
call npm install --no-audit --no-fund --quiet --omit=dev call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
node server.js %* node server.js %*
pause pause
popd popd

View File

@ -12,7 +12,7 @@ if %errorlevel% neq 0 (
) )
) )
set NODE_ENV=production set NODE_ENV=production
call npm install --no-audit --no-fund --quiet --omit=dev call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
node server.js %* node server.js %*
pause pause
popd popd

View File

@ -42,7 +42,7 @@ if NOT "!AUTO_SWITCH!"=="" (
SET TARGET_BRANCH=release SET TARGET_BRANCH=release
goto update goto update
) )
echo Auto-switching defined to stay on current branch echo Auto-switching defined to stay on current branch
goto update goto update
) )
@ -95,7 +95,7 @@ if %errorlevel% neq 0 (
echo Installing npm packages and starting server echo Installing npm packages and starting server
set NODE_ENV=production set NODE_ENV=production
call npm install --no-audit --no-fund --quiet --omit=dev call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
node server.js %* node server.js %*
:end :end

View File

@ -26,7 +26,7 @@ fi
echo "Installing Node Modules..." echo "Installing Node Modules..."
export NODE_ENV=production export NODE_ENV=production
npm i --no-audit --no-fund --quiet --omit=dev npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev
echo "Entering SillyTavern..." echo "Entering SillyTavern..."
node "server.js" "$@" node "server.js" "$@"