[2] project: update Dockerfile
This commit is contained in:
parent
1c92993d92
commit
7586c36e29
@ -1,6 +1,6 @@
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:3.1-alpine AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 2121
|
||||
EXPOSE 5000
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:3.1-alpine AS build
|
||||
WORKDIR /src
|
||||
|
||||
@ -15,7 +15,7 @@ namespace _1C.Gateway
|
||||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.UseStartup<Startup>();
|
||||
webBuilder.UseKestrel(options => { options.ListenAnyIP(1000); });
|
||||
webBuilder.UseKestrel(options => { options.ListenAnyIP(5000); });
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user