Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 529 Bytes
# escape=`
FROM dockeronwindows/ch05-msbuild-dotnet
WORKDIR C:\src
COPY src .
RUN dotnet restore; `
nuget restore -msbuildpath $env:MSBUILD_PATH
RUN dotnet build .\NerdDinner.Messaging\NerdDinner.Messaging.csproj; `
dotnet msbuild NerdDinner.sln; `
dotnet publish .\NerdDinner.MessageHandlers.IndexDinner; `
msbuild .\NerdDinner\NerdDinner.csproj `
/p:DeployOnBuild=true /p:OutputPath=c:\out\NerdDinner `
/p:VSToolsPath=C:\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\tools\VSToolsPath