Skip to content

Commit

Permalink
Merge branch 'release' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Cohee1207 committed Sep 19, 2024
2 parents ed47d51 + 15363a8 commit bfc0837
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV NODE_ENV=production
COPY package*.json post-install.js ./
RUN \
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
COPY . ./
Expand Down
2 changes: 1 addition & 1 deletion Start.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
pushd %~dp0
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 %*
pause
popd
2 changes: 1 addition & 1 deletion UpdateAndStart.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if %errorlevel% neq 0 (
)
)
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 %*
pause
popd
4 changes: 2 additions & 2 deletions UpdateForkAndStart.bat
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if NOT "!AUTO_SWITCH!"=="" (
SET TARGET_BRANCH=release
goto update
)

echo Auto-switching defined to stay on current branch
goto update
)
Expand Down Expand Up @@ -95,7 +95,7 @@ if %errorlevel% neq 0 (

echo Installing npm packages and starting server
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 %*

:end
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi

echo "Installing Node Modules..."
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..."
node "server.js" "$@"

0 comments on commit bfc0837

Please sign in to comment.