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

This commit is contained in:
iTob 2024-09-20 10:21:33 +02:00
parent e10e7f3c85
commit 576940ae1c

View File

@ -7,6 +7,7 @@ EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release
WORKDIR /src WORKDIR /src
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 restore "RBLNews/RBLNews.Web.csproj" RUN dotnet restore "RBLNews/RBLNews.Web.csproj"
COPY . . COPY . .