dockerfile update

master
Tudor Stanciu 2023-03-27 03:30:48 +03:00
parent ce9f5c5728
commit 383441cf52
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ COPY ["src/api/NetworkResurrector.Api.Domain/NetworkResurrector.Api.Domain.cspro
COPY ["src/api/NetworkResurrector.Api.PublishedLanguage/NetworkResurrector.Api.PublishedLanguage.csproj", "src/api/NetworkResurrector.Api.PublishedLanguage/"] COPY ["src/api/NetworkResurrector.Api.PublishedLanguage/NetworkResurrector.Api.PublishedLanguage.csproj", "src/api/NetworkResurrector.Api.PublishedLanguage/"]
COPY ["src/api/NetworkResurrector.Api.Domain.Data/NetworkResurrector.Api.Domain.Data.csproj", "src/api/NetworkResurrector.Api.Domain.Data/"] COPY ["src/api/NetworkResurrector.Api.Domain.Data/NetworkResurrector.Api.Domain.Data.csproj", "src/api/NetworkResurrector.Api.Domain.Data/"]
RUN dotnet restore "src/api/NetworkResurrector.Api/NetworkResurrector.Api.csproj" RUN dotnet restore "src/api/NetworkResurrector.Api/NetworkResurrector.Api.csproj"
COPY --exclude=src/agent --exclude=src/server . . COPY . .
WORKDIR "/buildspace/src/api/NetworkResurrector.Api" WORKDIR "/buildspace/src/api/NetworkResurrector.Api"
RUN dotnet build "NetworkResurrector.Api.csproj" -c Release -o /app/build RUN dotnet build "NetworkResurrector.Api.csproj" -c Release -o /app/build