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

@@ -57,9 +57,6 @@ jobs:
- name: Run the TypeScript build
run: npx tsc
- name: Create server-package.json
run: cat package.json | grep -v electron > server-package.json
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
@@ -163,8 +160,6 @@ jobs:
- run: npm ci
- name: Run the TypeScript build
run: npx tsc
- name: Create server-package.json
run: cat package.json | grep -v electron > server-package.json
- name: Login to GHCR
uses: docker/login-action@v3