1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

update to aspnet 2.1.4

This commit is contained in:
Kyle Spearrin
2018-09-11 13:29:34 -04:00
parent 4ec5f2fdb2
commit ce309c27d4
24 changed files with 24 additions and 48 deletions

View File

@ -1,4 +1,4 @@
FROM microsoft/dotnet:2.1.2-aspnetcore-runtime
FROM microsoft/dotnet:2.1.4-aspnetcore-runtime
LABEL com.bitwarden.product="bitwarden"

View File

@ -14,9 +14,7 @@ namespace Bit.Server
var builder = new WebHostBuilder()
.UseConfiguration(config)
.UseKestrel()
.UseStartup<Startup>()
// ref: https://github.com/aspnet/KestrelHttpServer/issues/2694
.UseLibuv();
.UseStartup<Startup>();
var contentRoot = config.GetValue<string>("contentRoot");
if(string.IsNullOrWhiteSpace(contentRoot))

View File

@ -7,8 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv" Version="2.1.2" />
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.4" />
</ItemGroup>
</Project>

View File

@ -1,4 +1,4 @@
FROM microsoft/dotnet:2.1.2-runtime
FROM microsoft/dotnet:2.1.4-runtime
LABEL com.bitwarden.product="bitwarden"