From 702b26ca683ca5066c7212f677538d185ab20bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Sharma?= Date: Sun, 11 Nov 2018 15:32:57 -0800 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 1 + src/Directory.Build.props | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a2b681c3..bd4c78fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ EXPOSE 80 FROM microsoft/dotnet:2.1-sdk AS build WORKDIR /src +ENV IS_DOCKER true COPY . . RUN dotnet restore src/BaGet RUN dotnet build src/BaGet -c Release -o /app diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 96c655d7..98b5cb64 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -20,7 +20,7 @@ - +