mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-09 16:40:10 +01:00
Merge branch 'release' into staging
This commit is contained in:
commit
bfc0837936
@ -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 . ./
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
2
start.sh
2
start.sh
@ -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" "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user