Migre le projet vers Blazor WebAssembly en .NET 10
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user