fix dockerfile
Some checks failed
Restart Docker Container on Production / build (pull_request) Failing after 27s

This commit is contained in:
iTob 2024-09-20 10:38:50 +02:00
parent 9122ddd117
commit 70ec3e822e

View File

@ -10,7 +10,6 @@ WORKDIR /src
COPY ["../../RBLNews.Web/RBLNews.Web.csproj", "RBLNews.Web/"] COPY ["../../RBLNews.Web/RBLNews.Web.csproj", "RBLNews.Web/"]
COPY ["../../RBLNews.Shared/RBLNews.Shared.csproj", "RBLNews.Shared/"] COPY ["../../RBLNews.Shared/RBLNews.Shared.csproj", "RBLNews.Shared/"]
RUN dotnet nuget add source --name itob https://git.wohlleben.dev/api/packages/itob/nuget/index.json RUN dotnet nuget add source --name itob https://git.wohlleben.dev/api/packages/itob/nuget/index.json
RUN dotnet nuget disable source "nuget.org"
RUN dotnet restore "RBLNews.Web/RBLNews.Web.csproj" RUN dotnet restore "RBLNews.Web/RBLNews.Web.csproj"
COPY . . COPY . .
WORKDIR "/src/RBLNews.Web" WORKDIR "/src/RBLNews.Web"