mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-14 02:15:57 -04:00
Update all-in-one Dockerfile (#1731)
This commit is contained in:
@@ -35,4 +35,7 @@ certificates/
|
||||
# Exclude development files
|
||||
*.log
|
||||
*.env
|
||||
*.env.*
|
||||
*.env.*
|
||||
|
||||
# Exclude local built web app index.html, must be generated fresh during Docker build for correct fingerprinting
|
||||
apps/server/AliasVault.Client/wwwroot/index.html
|
||||
|
||||
@@ -75,7 +75,10 @@ RUN dotnet publish AliasVault.Api/AliasVault.Api.csproj \
|
||||
-c Release -o /app/api --no-restore
|
||||
|
||||
# Build Client (contains WASM which can be slow)
|
||||
RUN dotnet publish AliasVault.Client/AliasVault.Client.csproj \
|
||||
# Note: Must run build first before publish, to trigger index.html generation for correct fingerprinting
|
||||
RUN dotnet build AliasVault.Client/AliasVault.Client.csproj \
|
||||
-c Release --no-restore && \
|
||||
dotnet publish AliasVault.Client/AliasVault.Client.csproj \
|
||||
-c Release -o /app/client --no-restore
|
||||
|
||||
# Build Admin
|
||||
|
||||
Reference in New Issue
Block a user