e2d8c0200f
* 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
9 lines
200 B
Batchfile
9 lines
200 B
Batchfile
@echo off
|
|
pushd %~dp0
|
|
set NODE_ENV=production
|
|
call npm install --no-save --no-audit --no-fund --loglevel=error --no-progress --omit=dev --ignore-scripts
|
|
call npm run init
|
|
node server.js %*
|
|
pause
|
|
popd
|