Merge pull request 'Refactored paths' (#6) from test into main
Reviewed-on: #6
This commit was merged in pull request #6.
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR .
|
||||||
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