aded restore private nuget

This commit is contained in:
ruberoid 2024-03-27 12:48:05 +04:00
parent 792a633544
commit 74e0e65f53

View File

@ -7,6 +7,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet nuget add source -n "musk.fun.nocr" "https://gitea.musk.fun/api/packages/nocr/nuget/index.json"
RUN dotnet restore "src/Nocr.TextMatcher.Host/Nocr.TextMatcher.Host.csproj"
WORKDIR "/src/src/Nocr.TextMatcher.Host"
RUN dotnet build "Nocr.TextMatcher.Host.csproj" -c Release -o /app/build