Dockerfile an neue Dateistruktur angepasst
This commit is contained in:
@@ -4,11 +4,11 @@ WORKDIR /app
|
||||
|
||||
# Projektdateien kopieren und Abhängigkeiten wiederherstellen
|
||||
COPY *.sln .
|
||||
COPY Watcher/*.csproj ./Watcher/
|
||||
COPY watcher-monitoring/*.csproj ./Watcher/
|
||||
RUN dotnet restore
|
||||
|
||||
# Restliche Dateien kopieren und Build ausführen
|
||||
COPY Watcher/. ./Watcher/
|
||||
COPY watcher-monitoring/. ./Watcher/
|
||||
WORKDIR /app/Watcher
|
||||
RUN dotnet publish -c Release -o /app/publish /p:UseAppHost=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user