diff --git a/Dockerfile b/Dockerfile index 409f19a..faa657a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR . COPY . . +RUN ls . +RUN ls ./SampleApi RUN dotnet publish "SampleApi/SampleApi.csproj" -c Release -o /app/publish + # Stage 2: Run the app using the Runtime FROM ://mcr.microsoft.com WORKDIR /app