File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed
src/BenchmarksApps/TechEmpower Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
.git *
2
2
.dockerignore
3
+ # Ignore all built assets
4
+ ** /[b|B ]in /
5
+ ** /[O|o ]bj /
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net7.0;net8.0</TargetFrameworks >
4
+ <TargetFrameworks >net7.0;net8.0;net9.0 </TargetFrameworks >
5
5
<OutputType >Exe</OutputType >
6
6
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
7
7
<IsTestAssetProject >true</IsTestAssetProject >
Original file line number Diff line number Diff line change 1
1
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
2
2
WORKDIR /app
3
- COPY src/Platform .
4
- COPY startprocess.sh out
5
- RUN dotnet publish -c Release -o out /p:DatabaseProvider=Npgsql
3
+ COPY . .
4
+ RUN dotnet publish ./src/BenchmarksApps/TechEmpower/PlatformBenchmarks/PlatformBenchmarks.csproj -c Release -o out -f net9.0
5
+ COPY ./src/BenchmarksApps/TechEmpower/startprocess.sh out
6
6
7
7
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime
8
- ENV URLS http://+:8080
8
+ ENV URLS= http://+:8080
9
9
10
10
WORKDIR /app
11
11
COPY --from=build /app/out ./
12
12
13
13
EXPOSE 8080
14
14
15
- CMD ./startprocess.sh
15
+ CMD [" ./startprocess.sh"]
Original file line number Diff line number Diff line change 1
- dotnet Platform.dll
2
- dotnet Platform.dll
3
- dotnet Platform.dll
4
- dotnet Platform.dll
1
+ #! /bin/bash
2
+
3
+ dotnet ./PlatformBenchmarks.dll &
4
+ dotnet ./PlatformBenchmarks.dll &
5
+ dotnet ./PlatformBenchmarks.dll &
6
+ dotnet ./PlatformBenchmarks.dll
You can’t perform that action at this time.
0 commit comments