File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # BUILD
2+ FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
3+ WORKDIR /src
4+
5+ ENV CI=true
6+
7+ COPY docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm/*.csproj CodeBeam.Website/
8+ COPY docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.Client/*.csproj CodeBeam.Website.Client/
9+
10+ RUN dotnet restore CodeBeam.Website/CodeBeam.UltimateAuth.Docs.Wasm.csproj
11+
12+ COPY . .
13+
14+ RUN dotnet publish docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.csproj \
15+ -c Release -o /app/publish
16+
17+ # RUNTIME
18+ FROM mcr.microsoft.com/dotnet/aspnet:10.0
19+ WORKDIR /app
20+ COPY --from=build /app/publish .
21+
22+ EXPOSE 8080
23+ ENTRYPOINT ["dotnet" , "CodeBeam.UltimateAuth.Docs.Wasm.dll" ]
You can’t perform that action at this time.
0 commit comments