diff --git a/Dockerfile b/Dockerfile index cc83219..afcf117 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM ://mcr.microsoft.com AS build WORKDIR /src COPY . . RUN dotnet publish "SampleApi/SampleApi.csproj" -c Release -o /app/publish +COPY /app/publish /app # Stage 2: Run the app using the Runtime FROM ://mcr.microsoft.com