From b7976e679d03e370378de78a5b542046cf030a60 Mon Sep 17 00:00:00 2001 From: hualin Date: Wed, 8 Jan 2025 13:47:37 +0800 Subject: [PATCH] Update Dockerfile --- src/CleanAspire.ClientApp/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CleanAspire.ClientApp/Dockerfile b/src/CleanAspire.ClientApp/Dockerfile index 498f6f9..9bdc366 100644 --- a/src/CleanAspire.ClientApp/Dockerfile +++ b/src/CleanAspire.ClientApp/Dockerfile @@ -12,7 +12,7 @@ RUN dotnet workload install wasm-tools --skip-manifest-update RUN dotnet restore "./src/CleanAspire.ClientApp/CleanAspire.ClientApp.csproj" COPY . . WORKDIR "/src/src/CleanAspire.ClientApp" -RUN dotnet publish "./CleanAspire.ClientApp.csproj" -c Release -o /app/build +RUN dotnet build "./CleanAspire.ClientApp.csproj" -c $BUILD_CONFIGURATION -o /app/build # This stage is used to publish the service project to be copied to the final stage