Docker fixes

This commit is contained in:
mrfry 2021-08-01 13:52:53 +02:00
parent 8c784e2472
commit 2eb6bb9a49
5 changed files with 36 additions and 11 deletions
scripts

8
scripts/make.sh Normal file → Executable file
View file

@ -34,13 +34,7 @@ makeNextSubmodule() {
ln -sf "$PWD/submodules/${1}/out" "$PWD/nextStatic/${2}"
}
checkFile "$PWD/src/server.ts"
checkFile "$PWD/package.json"
checkFile "$PWD/package-lock.json"
git pull
git submodule update --init --recursive
log 'Making project'
log "Installing node modules for server"
npm install
npm audit fix