explicitely ensure the web sdk is installed

This commit is contained in:
Alan Moon 2024-11-28 10:56:19 -08:00
parent d73fd78472
commit 4dad639c12

View File

@ -5,6 +5,9 @@ WORKDIR /src
# Copy the source code # Copy the source code
COPY . . COPY . .
# Explicitely Install Web SDK
RUN dotnet add-global package Microsoft.NET.Sdk.Web
# Restore Project # Restore Project
RUN dotnet build -c Release -o /app RUN dotnet build -c Release -o /app