From 31d12527e21f662e4033c89a187e085c1f52f882 Mon Sep 17 00:00:00 2001 From: Patrick Klaeren Date: Sat, 11 Nov 2023 19:36:03 +0000 Subject: [PATCH] Fix Dockerfile --- src/Accord.Web/Dockerfile => Dockerfile | 1 + src/Accord.Web/Accord.Web.csproj | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) rename src/Accord.Web/Dockerfile => Dockerfile (95%) diff --git a/src/Accord.Web/Dockerfile b/Dockerfile similarity index 95% rename from src/Accord.Web/Dockerfile rename to Dockerfile index 66dd634..95a775a 100644 --- a/src/Accord.Web/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ EXPOSE 80 EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +COPY ["Directory.Build.props", "./"] WORKDIR /src COPY ["src/Accord.Web/Accord.Web.csproj", "src/Accord.Web/"] COPY ["src/Accord.Bot/Accord.Bot.csproj", "src/Accord.Bot/"] diff --git a/src/Accord.Web/Accord.Web.csproj b/src/Accord.Web/Accord.Web.csproj index 7daae9c..393241e 100644 --- a/src/Accord.Web/Accord.Web.csproj +++ b/src/Accord.Web/Accord.Web.csproj @@ -27,10 +27,4 @@ - - - .dockerignore - - -