build(Docker): move server-package.json preparation into Dockerfile

This commit is contained in:
Panagiotis Papadopoulos
2025-03-03 09:28:23 +01:00
committed by Panagiotis Papadopoulos
parent bb7a4f9bc3
commit 2973d38db0
5 changed files with 3 additions and 16 deletions

View File

@@ -5,8 +5,6 @@ set -e # Fail on any command error
VERSION=`jq -r ".version" package.json`
SERIES=${VERSION:0:4}-latest
cat package.json | grep -v electron > server-package.json
echo "Compiling typescript..."
npx tsc