fix dockerfile
Some checks failed
Restart Docker Container on Production / build (pull_request) Failing after 1m46s
Some checks failed
Restart Docker Container on Production / build (pull_request) Failing after 1m46s
This commit is contained in:
parent
d7e614fbd6
commit
e10e7f3c85
@ -7,8 +7,8 @@ EXPOSE 443
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
COPY ["../../RBLNews.Web/RBLNews.Shared.csproj", "RBLNews.Shared/"]
|
||||
RUN dotnet restore "RBLFeeder/RBLNews.Web.csproj"
|
||||
COPY ["../../RBLNews.Shared/RBLNews.Shared.csproj", "RBLNews.Shared/"]
|
||||
RUN dotnet restore "RBLNews/RBLNews.Web.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/RBLNews.Web"
|
||||
RUN dotnet build "RBLNews.Web.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user