File tree Expand file tree Collapse file tree 4 files changed +23
-10
lines changed
Expand file tree Collapse file tree 4 files changed +23
-10
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <configuration >
3+ <packageSources >
4+ <add key =" local-packages" value =" /root/.nuget/packages" />
5+ </packageSources >
6+ </configuration >
Original file line number Diff line number Diff line change 11
2- FROM mcr.microsoft.com/dotnet/sdk:8.0 as build
2+ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
33
44ENV DOTNET_CLI_HOME=/tmp
55ENV PATH="$PATH:/tmp/.dotnet/tools"
@@ -21,7 +21,7 @@ RUN fix_permissions() { while [ $# -gt 0 ] ; do chgrp -R 0 "$1" && chmod -R g=u
2121WORKDIR /src/services/net/nlp
2222RUN dotnet build -c $ASPNETCORE_ENVIRONMENT -o /build
2323
24- FROM mcr.microsoft.com/dotnet/aspnet:8.0 as deploy
24+ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS deploy
2525
2626WORKDIR /app
2727COPY --from=build /build .
@@ -34,4 +34,4 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
3434# Run container by default as user with id 1001 (default)
3535USER 1001
3636
37- ENTRYPOINT dotnet TNO.Services.NLP.dll
37+ ENTRYPOINT [ " dotnet" , " TNO.Services.NLP.dll" ]
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <configuration >
3+ <packageSources >
4+ <add key =" local-packages" value =" /root/.nuget/packages" />
5+ </packageSources >
6+ </configuration >
Original file line number Diff line number Diff line change 1010 <AssemblyVersion >1.0.0.0</AssemblyVersion >
1111 </PropertyGroup >
1212
13- <ItemGroup >
14- <!-- <ProjectReference Include="..\..\..\libs\net\services\TNO.Services.csproj" /> -->
15- </ItemGroup >
16-
1713 <ItemGroup >
1814 <Content Include =" *.json" >
1915 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
2218
2319 <ItemGroup >
2420 <PackageReference Include =" Microsoft.ML" Version =" 4.0.0" />
25- <PackageReference Include =" OpenNLP.NET" Version =" 1.9.4.1" />
26- <PackageReference Include =" System.Formats.Asn1" Version =" 8.0.1" />
21+ <PackageReference Include =" OpenNLP.NET" Version =" 1.9.4.1" >
22+ <ExcludeAssets >build;buildTransitive</ExcludeAssets >
23+ </PackageReference >
24+ <PackageReference Include =" ikvm" Version =" 8.2.1" >
25+ <ExcludeAssets >build;buildTransitive</ExcludeAssets >
26+ </PackageReference >
27+ <PackageReference Include =" System.Formats.Asn1" Version =" 8.0.2" />
2728 <PackageReference Include =" System.Security.Cryptography.Pkcs" Version =" 8.0.1" />
28- <PackageReference Include =" System.Text.Json" Version =" 8.0.5 " />
29+ <PackageReference Include =" System.Text.Json" Version =" 8.0.6 " />
2930 <PackageReference Include =" TNO.Services" Version =" 1.0.0" />
3031 </ItemGroup >
3132
You can’t perform that action at this time.
0 commit comments