Edenic Exporter Init

This commit is contained in:
Michal
2024-08-17 02:46:22 +01:00
parent dcb756ad14
commit 576ce11da6
38 changed files with 1320 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
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"]