Refactored paths

This commit is contained in:
2026-03-03 14:55:47 +02:00
parent c7936e9131
commit 4ea9b98fd7

View File

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