From 25b79a81aebec253d1c4452fa03aab03b7fc721a Mon Sep 17 00:00:00 2001 From: Alex Hyett Date: Fri, 7 Jul 2017 17:51:14 +0100 Subject: [PATCH] Updated docker file --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 15934f5..0604350 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,10 @@ ARG BUILDCONFIG=RELEASE # Copy project files to avoid restoring packages if they haven't changed COPY *.csproj ./build/ -RUN dotnet restore ./build/ - -COPY . ./build/ WORKDIR /build/ +RUN dotnet restore + +COPY . . RUN dotnet publish -c $BUILDCONFIG -o out # build runtime image