add: hci
This commit is contained in:
@@ -9,15 +9,14 @@
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\.dockerignore">
|
||||
<Content Include="..\.dockerignore">
|
||||
<Link>.dockerignore</Link>
|
||||
</Content>
|
||||
<PackageReference Include="Alchegos.Core" Version="0.0.1" />
|
||||
<PackageReference Include="RabbitMQ.Client" Version="7.1.1" />
|
||||
</Content>
|
||||
<PackageReference Include="Alchegos.Core" Version="0.0.1" />
|
||||
<PackageReference Include="RabbitMQ.Client" Version="7.1.1" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="EventHandlerDispatchers\" />
|
||||
<None Include="NuGet.Config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -7,6 +7,7 @@ EXPOSE 8080
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
COPY NuGet.Config ./
|
||||
COPY ["Alchegos.Webhook.csproj", "./"]
|
||||
RUN dotnet restore "Alchegos.Webhook.csproj"
|
||||
COPY . .
|
||||
@@ -15,7 +16,7 @@ RUN dotnet build "/src/Alchegos.Webhook.csproj" -c $BUILD_CONFIGURATION -o /app/
|
||||
|
||||
FROM build AS publish
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
RUN dotnet publish "Alchegos.Webhook.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
||||
RUN dotnet publish "/src/Alchegos.Webhook.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
|
||||
7
NuGet.Config
Normal file
7
NuGet.Config
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
<add key="hangman-lab" value="https://git.hangman-lab.top/api/packages/hzhang/nuget/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user