File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22WORKDIR /app
33
44# copy csproj and restore as distinct layers
5- COPY RadarrAPI /*.csproj ./
5+ COPY LidarrAPI /*.csproj ./
66RUN dotnet restore
77
88# copy everything else and build
9- COPY RadarrAPI /* ./
9+ COPY LidarrAPI /* ./
1010RUN dotnet publish -c Release -o out
1111
1212# build runtime image
1313FROM microsoft/dotnet:2.0-runtime
1414WORKDIR /app
1515COPY --from=build-env /app/out ./
16- ENTRYPOINT ["dotnet" , "RadarrAPI .dll" ]
16+ ENTRYPOINT ["dotnet" , "LidarrAPI .dll" ]
Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ assembly_info:
99configuration : Release
1010
1111platform : Any CPU
12-
12+
1313environment :
1414 DOTNET_CLI_TELEMETRY_OPTOUT : 1
15-
15+
1616# Install .NET Core SDK 1.0 rc4 build 004771
1717init :
1818 - ps : (new-object net.webclient).DownloadFile('https://go.microsoft.com/fwlink/?linkid=841686', "c:/dotnet-install.exe")
1919 - ps : Start-Process c:\dotnet-install.exe -ArgumentList "/install","/quiet" -Wait
20-
20+
2121build_script :
2222 - ps : dotnet restore --no-cache
23- - ps : dotnet build .\RadarrAPI\RadarrAPI .csproj -c Release
23+ - ps : dotnet build .\LidarrAPI\LidarrAPI .csproj -c Release
2424
2525artifacts :
26- - path : ' .\RadarrAPI \bin\Any CPU\Release\netcoreapp1.1\RadarrAPI .dll'
26+ - path : ' .\LidarrAPI \bin\Any CPU\Release\netcoreapp2.0\LidarrAPI .dll'
You can’t perform that action at this time.
0 commit comments