This commit is contained in:
Michal 2024-08-18 02:39:54 +01:00
parent a002f2ee66
commit 141a2a63f7
3 changed files with 2 additions and 17 deletions

View File

@ -1,15 +0,0 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:35792ea4ad1db051981f62b313f1be3b46b1f45cadbaa3c288cd0d3056eefb83 AS build-env
WORKDIR /EdenicExporter
# Copy everything
COPY . ./
# Restore as distinct layers
RUN dotnet restore
# Build and publish a release
RUN dotnet publish -c Release -o out
# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:8.0@sha256:6c4df091e4e531bb93bdbfe7e7f0998e7ced344f54426b7e874116a3dc3233ff
WORKDIR /EdenicExporter
COPY --from=build-env /EdenicExporter/out .
ENTRYPOINT ["dotnet", "DotNet.Docker.dll"]

View File

@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("EdenicExporter")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4dc448c6a85f4b8e1ae9aac3628f913f81e0facd")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a002f2ee66995ad2cd0372a37a5fd2355c061420")]
[assembly: System.Reflection.AssemblyProductAttribute("EdenicExporter")]
[assembly: System.Reflection.AssemblyTitleAttribute("EdenicExporter")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
5c228d10401db4dd1d4ad269b584bd4d088ae38a1d6136da40dbf6cf8be68416
bca462ef31fe6a0c8a2b6f40d617babddc9b65ed249606d8a918717745ab5ed9