Initial commit

This commit is contained in:
2026-01-04 23:00:21 +08:00
commit d3178871eb
124 changed files with 19300 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 39256
ENV ASPNETCORE_URLS=http://+:39256
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY src/License.Api/License.Api.csproj src/License.Api/
RUN dotnet restore "src/License.Api/License.Api.csproj"
COPY src/License.Api/ src/License.Api/
WORKDIR /src/src/License.Api
RUN dotnet publish -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=build /app/publish .
ENTRYPOINT ["dotnet", "License.Api.dll"]