Added publish binary copy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user