Add explicit apps/server workdir for wasm tool install invocations (#1355)

This commit is contained in:
Leendert de Borst
2025-11-13 23:07:42 +01:00
committed by Leendert de Borst
parent fd64ea8647
commit 198fc57d93
3 changed files with 5 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ jobs:
dotnet-version: 9.0.x
- name: Install dependencies
working-directory: apps/server
run: dotnet workload install wasm-tools
- name: Build

View File

@@ -23,6 +23,7 @@ jobs:
dotnet-version: 9.0.x
- name: Install dependencies
working-directory: apps/server
run: dotnet workload install wasm-tools
- name: Restore dependencies

View File

@@ -14,11 +14,12 @@ RUN mkdir -p /src/msbuild-logs
# Install Python which is required by the WebAssembly tools
RUN apt-get update && apt-get install -y python3 && apt-get clean
# Install the WebAssembly tools
# Install the WebAssembly tools with correct dotnet version auto-detected from apps/server folder.
WORKDIR /src/apps/server
RUN dotnet workload install wasm-tools
# Copy all project files
COPY apps/server .
COPY apps/server /src
# Build the Client project
WORKDIR "/src/AliasVault.Client"