Refactored base image
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# Stage 1: Build the app using the SDK
|
||||
FROM ://mcr.microsoft.com AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN dotnet publish "SampleApi/SampleApi.csproj" -c Release -o /app/publish
|
||||
|
||||
Reference in New Issue
Block a user