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

This commit is contained in:
iTob 2024-09-20 10:25:59 +02:00
parent 576940ae1c
commit ed03b80e6a

View File

@ -9,7 +9,7 @@ ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["../../RBLNews.Web/RBLNews.Web.csproj", "RBLNews.Web/"]
COPY ["../../RBLNews.Shared/RBLNews.Shared.csproj", "RBLNews.Shared/"]
RUN dotnet restore "RBLNews/RBLNews.Web.csproj"
RUN dotnet restore "RBLNews.Web/RBLNews.Web.csproj"
COPY . .
WORKDIR "/src/RBLNews.Web"
RUN dotnet build "RBLNews.Web.csproj" -c $BUILD_CONFIGURATION -o /app/build