Commit c96d981 1 parent 7e1e6f1 commit c96d981 Copy full SHA for c96d981
File tree 2 files changed +5
-13
lines changed
2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1
- FROM mcr.microsoft.com/dotnet/sdk:7 .0-alpine AS build-env
1
+ FROM mcr.microsoft.com/dotnet/sdk:8 .0-alpine AS build-env
2
2
WORKDIR src
3
3
4
4
COPY . .
5
5
RUN dotnet restore
6
6
RUN dotnet publish -c Release -o out
7
7
8
- FROM mcr.microsoft.com/dotnet/aspnet:7 .0-alpine
8
+ FROM mcr.microsoft.com/dotnet/aspnet:8 .0-alpine
9
9
COPY --from=build-env /src/out .
10
10
ENTRYPOINT ["dotnet" , "./Api.dll" ]
Original file line number Diff line number Diff line change 6
6
"Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware" : " None"
7
7
}
8
8
},
9
-
10
9
"AllowedHosts" : " *" ,
11
- "Kestrel" : {
12
- "EndPoints" : {
13
- "Http" : {
14
- "Url" : " http://+:22001"
15
- }
16
- }
17
- },
18
-
19
10
"MongoDb" : {
20
11
"DatabaseName" : " trumpee" ,
21
12
"ConnectionString" : " mongodb://root:password@localhost:23001/"
22
13
},
23
14
"MassTransit" : {
24
15
"Transport" : {
25
- "Host" : " localhost " ,
16
+ "Host" : " 127.0.0.1 " ,
26
17
"VHost" : " /" ,
27
18
"Username" : " guest" ,
28
- "Password" : " guest"
19
+ "Password" : " guest" ,
20
+ "Port" : 23501
29
21
}
30
22
}
31
23
}
You can’t perform that action at this time.
0 commit comments