Skip to content

Commit c7aad14

Browse files
committed
feat: Dockerize application
1 parent 5aab791 commit c7aad14

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Directory.Build.props

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
<TargetFramework>net9.0</TargetFramework>
55
<Version>0.9.0-beta.6</Version>
66
<FileVersion>0.9.0</FileVersion>
7-
<InformationalVersion></InformationalVersion>
7+
<InformationalVersion>0.9.0-beta.6</InformationalVersion>
8+
<Description>Payroll Engine WebApp</Description>
9+
<Company>Payroll Engine GmbH</Company>
10+
<Product>Payroll Engine</Product>
11+
<Copyright>Copyright © 2024</Copyright>
12+
<NeutralLanguage>en</NeutralLanguage>
13+
<Nullable>enable</Nullable>
814
<Authors>Jani Giannoudis</Authors>
915
<Company>Software Consulting Giannoudis</Company>
1016
<Copyright>2025 Software Consulting Giannoudis</Copyright>
11-
<Product>Payroll Engine Web Application</Product>
1217
<PackageProjectUrl>https://payrollengine.org/</PackageProjectUrl>
1318
<RepositoryUrl>https://github.com/Payroll-Engine/PayrollEngine.WebApp.git</RepositoryUrl>
1419
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
22
WORKDIR /src
33

44
# copy solution and project files
@@ -20,7 +20,7 @@ WORKDIR "/src/Server"
2020
RUN dotnet publish "PayrollEngine.WebApp.Server.csproj" -c Release -o /app/publish --no-restore
2121

2222
# final stage
23-
FROM mcr.microsoft.com/dotnet/aspnet:8.0
23+
FROM mcr.microsoft.com/dotnet/aspnet:9.0
2424
WORKDIR /app
2525
COPY --from=build /app/publish .
2626
ENTRYPOINT ["dotnet", "PayrollEngine.WebApp.Server.dll"]

0 commit comments

Comments
 (0)