Initial commit

This commit is contained in:
P-A
2026-03-31 21:03:38 +02:00
parent 9073d22580
commit 33d94aca01
146 changed files with 3714 additions and 1 deletions

16
HelloWorldApp/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
# Build stage
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY HelloWorldApp.csproj HelloWorldApp.csproj
RUN dotnet restore HelloWorldApp.csproj
COPY . .
RUN dotnet publish -c Release -o /app --no-restore
# Runtime stage
FROM mcr.microsoft.com/dotnet/runtime:10.0
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT ["dotnet", "HelloWorldApp.dll"]