initial commit

This commit is contained in:
2025-06-13 23:48:23 +02:00
parent ff24a123dd
commit 22b8e185b5
83 changed files with 75161 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
# Build-Stage
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /app
# Projektdateien kopieren und Abhängigkeiten wiederherstellen
COPY *.csproj ./
RUN dotnet restore
# Restlichen Code kopieren und veröffentlichen
COPY . ./
RUN dotnet publish -c Release -o out
# Runtime-Stage
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
WORKDIR /app
COPY --from=build /app/out ./
EXPOSE 5000
EXPOSE 5001
ENTRYPOINT ["dotnet", "Watcher.dll"]