Migre le projet vers Blazor WebAssembly en .NET 10

This commit is contained in:
2026-04-13 21:29:12 +02:00
parent b11056097d
commit 90f17c9c89
26 changed files with 4314 additions and 94 deletions

View File

@@ -1,4 +1,15 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY ChessCubing.App/ChessCubing.App.csproj ChessCubing.App/
RUN dotnet restore ChessCubing.App/ChessCubing.App.csproj
COPY ChessCubing.App/ ChessCubing.App/
COPY ethan/ ethan/
COPY favicon.png logo.png transparent.png styles.css site.webmanifest ChessCubing_Time_Reglement_Officiel_V1-1.pdf ChessCubing_Twice_Reglement_Officiel_V2-1.pdf ./
RUN dotnet publish ChessCubing.App/ChessCubing.App.csproj -c Release -o /app/publish
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY . /usr/share/nginx/html
COPY --from=build /app/publish/wwwroot /usr/share/nginx/html