Compare commits
3 Commits
82348a0112
...
ddc66efc16
| Author | SHA1 | Date | |
|---|---|---|---|
| ddc66efc16 | |||
| c7936e9131 | |||
| d58caf67e3 |
@@ -1,8 +1,8 @@
|
||||
# Stage 1: Build the app using the SDK
|
||||
FROM ://mcr.microsoft.com AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 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