Compare commits

..

3 Commits

Author SHA1 Message Date
ddc66efc16 Merge pull request 'test' (#5) from test into main
Reviewed-on: #5
2026-03-03 14:54:08 +02:00
c7936e9131 Refactored base image 2026-03-03 14:53:47 +02:00
d58caf67e3 Added publish binary copy 2026-03-03 14:52:18 +02:00

View File

@@ -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