This repository was archived by the owner on May 27, 2026. It is now read-only.
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+ *
2+
3+ ! .git /
4+ ! Lagrange.Codec /
5+ ! Lagrange.Core /
6+ ! Lagrange.Milky /
7+ ! Lagrange.Milky.Implementation.Api.Generator /
8+ ! Lagrange.Proto /
9+ ! Lagrange.Proto.Generator /
10+
11+ * /bin /
12+ * /obj /
Original file line number Diff line number Diff line change 55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77 <PublishAot >true</PublishAot >
8+ <InvariantGlobalization >true</InvariantGlobalization >
9+ <StaticExecutable >true</StaticExecutable >
810 </PropertyGroup >
911 <PropertyGroup Condition =" '$(Configuration)' == 'Debug'" >
1012 <EmitCompilerGeneratedFiles >true</EmitCompilerGeneratedFiles >
Original file line number Diff line number Diff line change 1+ FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine-aot AS build
2+
3+ WORKDIR /app/src
4+
5+ COPY --link Lagrange.Codec/*.csproj Lagrange.Codec/
6+ COPY --link Lagrange.Core/*.csproj Lagrange.Core/
7+ COPY --link Lagrange.Milky/*.csproj Lagrange.Milky/
8+ COPY --link Lagrange.Milky.Implementation.Api.Generator/*.csproj Lagrange.Milky.Implementation.Api.Generator/
9+ COPY --link Lagrange.Proto/*.csproj Lagrange.Proto/
10+ COPY --link Lagrange.Proto.Generator/*.csproj Lagrange.Proto.Generator/
11+ RUN dotnet restore Lagrange.Milky
12+
13+ COPY --link . .
14+ RUN dotnet publish Lagrange.Milky -c Release -p:DebugType=none -o /app/bin
15+
16+
17+ FROM scratch
18+
19+ COPY --from=build /app/bin/ .
20+ ENTRYPOINT ["./Lagrange.Milky" ]
You can’t perform that action at this time.
0 commit comments