Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add NPM to Docker build steps for AliasVault.Client JS bundler (#1493)
Leendert de Borst0130d805547a
diff --git a/apps/server/AliasVault.Client/Dockerfile b/apps/server/AliasVault.Client/Dockerfileindex 6d48a9ce3..d09401a79 100644--- a/apps/server/AliasVault.Client/Dockerfile+++ b/apps/server/AliasVault.Client/Dockerfile@@ -39,8 +39,13 @@ WORKDIR /src# Create the debug directoryRUN 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 Python (required by WebAssembly tools) and Node.js (required by JS bundler)+RUN apt-get update && \+ apt-get install -y --no-install-recommends python3 curl ca-certificates && \+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \+ apt-get install -y --no-install-recommends nodejs && \+ apt-get clean && \+ rm -rf /var/lib/apt/lists/*# Install the WebAssembly tools with correct dotnet version auto-detected from apps/server folder.WORKDIR /src/apps/serverdiff --git a/dockerfiles/all-in-one/Dockerfile b/dockerfiles/all-in-one/Dockerfileindex a683ef06c..d8199f390 100644--- a/dockerfiles/all-in-one/Dockerfile+++ b/dockerfiles/all-in-one/Dockerfile@@ -30,9 +30,12 @@ RUN cd ./core && \# ============================================FROM mcr.microsoft.com/dotnet/sdk:9.0 AS dotnet-builder-# Install Python (required for WASM compilation)+# Install Python (required for WASM compilation) and Node.js (required by JS bundler)RUN apt-get update && \- apt-get install -y --no-install-recommends python3 python3-pip && \+ apt-get install -y --no-install-recommends python3 python3-pip curl ca-certificates && \+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \+ apt-get install -y --no-install-recommends nodejs && \+ apt-get clean && \rm -rf /var/lib/apt/lists/*WORKDIR /src