Added publish binary copy
This commit is contained in:
@@ -3,6 +3,7 @@ FROM ://mcr.microsoft.com AS build
|
|||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN dotnet publish "SampleApi/SampleApi.csproj" -c Release -o /app/publish
|
RUN dotnet publish "SampleApi/SampleApi.csproj" -c Release -o /app/publish
|
||||||
|
COPY /app/publish /app
|
||||||
|
|
||||||
# Stage 2: Run the app using the Runtime
|
# Stage 2: Run the app using the Runtime
|
||||||
FROM ://mcr.microsoft.com
|
FROM ://mcr.microsoft.com
|
||||||
|
|||||||
Reference in New Issue
Block a user