fix dockerfile
Some checks failed
Restart Docker Container on Production / build (pull_request) Failing after 53s
Some checks failed
Restart Docker Container on Production / build (pull_request) Failing after 53s
This commit is contained in:
parent
576940ae1c
commit
ed03b80e6a
@ -9,7 +9,7 @@ ARG BUILD_CONFIGURATION=Release
|
|||||||
WORKDIR /src
|
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 restore "RBLNews/RBLNews.Web.csproj"
|
RUN dotnet restore "RBLNews.Web/RBLNews.Web.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/RBLNews.Web"
|
WORKDIR "/src/RBLNews.Web"
|
||||||
RUN dotnet build "RBLNews.Web.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
RUN dotnet build "RBLNews.Web.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user