more story

This commit is contained in:
Tommy Parnell
2017-01-18 13:49:17 -05:00
parent 9b0d324498
commit e165346d64
13 changed files with 537 additions and 23 deletions

View File

@@ -1,11 +1,13 @@
FROM microsoft/dotnet:1.1.0-sdk-projectjson
WORKDIR /dotnetapp
WORKDIR /app
# copy project.json and restore as distinct layers
ADD project.json .
RUN dotnet restore
# copy and build everything else
RUN ["dotnet", "restore"]
ADD . .
RUN ["dotnet", "build", "-c", "Release"]
ENTRYPOINT ["dotnet", "run", "-c", "Release"]