Dockerfile an neue Dateistruktur angepasst
Some checks failed
Gitea CI/CD / dotnet-build-and-test (push) Successful in 39s
Gitea CI/CD / Set Tag Name (push) Successful in 5s
Gitea CI/CD / docker-build-and-push (push) Failing after 1m38s
Gitea CI/CD / Create Tag (push) Has been skipped

This commit is contained in:
2026-01-07 13:09:08 +01:00
parent 9e50d69ef9
commit 746628fdd8

View File

@@ -4,11 +4,11 @@ WORKDIR /app
# Projektdateien kopieren und Abhängigkeiten wiederherstellen # Projektdateien kopieren und Abhängigkeiten wiederherstellen
COPY *.sln . COPY *.sln .
COPY Watcher/*.csproj ./Watcher/ COPY watcher-monitoring/*.csproj ./Watcher/
RUN dotnet restore RUN dotnet restore
# Restliche Dateien kopieren und Build ausführen # Restliche Dateien kopieren und Build ausführen
COPY Watcher/. ./Watcher/ COPY watcher-monitoring/. ./Watcher/
WORKDIR /app/Watcher WORKDIR /app/Watcher
RUN dotnet publish -c Release -o /app/publish /p:UseAppHost=false RUN dotnet publish -c Release -o /app/publish /p:UseAppHost=false