dockerfile update
parent
ce9f5c5728
commit
383441cf52
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue