Compare commits
2 Commits
ddc66efc16
...
7d395e2295
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d395e2295 | |||
| 4ea9b98fd7 |
@@ -1,8 +1,7 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
WORKDIR /src
|
||||
WORKDIR .
|
||||
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